Age | Commit message (Collapse) | Author |
|
This change makes the Call Waiting tone actually play during the
Call Waiting use case.
+ Plugging InCallTonePlayer into the DialerRingtoneManager in the
StatusBarNotifier
+ Test fixes
+ Added tests for when Dialer ringing is disabled
+ Added tests for DialerRingtoneManager#playCallWaitingTone
- Removed unneeded @NeededForTesting annotations from InCallTonePlayer
since they won't be stipped out by proguard.
Change-Id: I49a83d2a7fe6edf5f9ec88db973a5f37e307f23a
|
|
|
|
|
|
|
|
+ Renamed the DialerRingtoneManager, but forgot to rename the test file.
Change-Id: I3de6223e023787657d2573ba3f620fc9bc013181
|
|
+ This class will be used by the DialerRingtoneManager to play the
call waiting tone. It exists to encapsulate the logic to play a tone
in a background thread.
+ The TonePlayer includes some thread safety measures, but is not
meant to be shared between multiple threads
Bug=26936401
Change-Id: I630959177fcd8a4fc8ba7d3153f036746ad8a4cf
|
|
+ This class was needed to abstract out the logic to determine which
stream to play tones though. It is also easily mockable for use.
Change-Id: I382239483871b9aa1ef6fece7e66ea95f3fba4e0
|
|
nyc-dev
|
|
+ Use a TestableExecutor in the production code to allow tests to
sync up and block so the state of the system can be tested. In the
tests the executor can wait until the production code hits a
milestone to ensure that the system is in a proper state for testing.
+ The current implementation only attempts to synchronize between one
production thread and one test thread. Extend the TestableExecutor
interface to perform additional synchronization.
Change-Id: Ie6fc64392e402330ab66c6f2cd0ec22200ebbdea
|
|
This CL is a direct copy from ag/864936. The original CL missed the move
from InCallUI to Dialer/InCallUI.
Origianl description:
Multi-window mode reduces the available screen real estate for the
InCallUI. As a result, some changes need to be made so important
information is still shown. When the UI has <100% of its normal screen
real estate:
* Remove large photo
* Shift hangup button down
the way the resource files should be interpreted:
* The base layout/ is the default layout, in this case, it is the
multi-window layout
* layout-h600hdp is the layout used when the screen height is >=600 dp,
which is the layout in 100% screen size (this is a direct copy of the
old layout/ file(s)
* layout-w600dp-land is the layout used when the device is in landscape
mode with a width >=600 dp (this is a direct renaming from *-land/)
Bug:26253432
Change-Id: I3db194a1e5b3334d10ab76806644b1a0769ad777
(cherry picked from commit fc1929393b506e7f7665be49424336ac2b7a02ae)
|
|
It is actually a naming mistake in framework, the column store contact id
of normal query is _id, but that of sip query is contact_id.
It is an old issue and we can't do much in the framework side.
So, we need to use the correct projection when it is a SIP call.
Bug:27143980
Bug:27141566
(cherry picked from commit 328f75ff518bf7d8863c6cf4446e26636e05b297)
Change-Id: I0551c308072892ef13c8cb14ea4a4ab37ffa6f83
|
|
[cherry-pick from ag/864046]
Photo of directory contact in call log should not require internet access.
It's now cached locally.
BUG=26111304
Change-Id: I9848e6fe9487c09899fd77f21804bcb4537799a8
|
|
[cherry-pick from ag/864087]
To avoid OOM, take InputStream instead byte[] as argument.
BUG=26111304
Change-Id: Ia985e58eea90c2acfd988494ea153955daa3c272
|
|
[cherry-pick from ag/862143]
Update cache only when the result is returned to InCall UI.
Now both call log and InCallUI take the callerinfo
which are first returned from provider.
When both personal and work profile directory lookup returns
a caller info, InCallUI takes the personal one, while cache
takes the work one. So it might result in the name being inconsistent
between 2 UIs. However, it's extremely rare as it's unlikely
to happen unless 2 corporate accounts under the same domain
are registered in personal and work respectively.
BUG=26819634
Change-Id: I87c4533635c0e2f88a639ca1c23611b2a22f6b07
|
|
InCalUI moved from packages/apps/InCallUI to packages/app/Dialer.
With this CL the AOSP dialer will reference the new location.
Change-Id: Id973b882b603ceafb83b9f6ef8e3ab93951835c1
(cherry picked from commit 3455daf29c0d4600666bc4f5bcdef70992b40922)
|
|
Change-Id: I2ad8e07cf6538ed7b5685b2f9695acb09a71e483
(cherry picked from commit 5c0cbaeaadf976a821128a99462beda4ac6955d7)
|
|
+ Needed to keep master branch ahead of B
+ Minor version of 00 made more sense than 01, which is why this is
different from the initial version for 2.04.XX
Change-Id: Id0b014db5927569574172634bd081b7605110906
(cherry picked from commit 63386f45e939671ee356959c0f15f1a7666a4e63)
|
|
|
|
Change-Id: I72981dc3227a39583801d455e6a6ce36c88b0969
Auto-generated-cl: translation import
|
|
This is a cherry-pick of partner CL in mm-wireless-dev.
In use-cases wherein UE receives waiting call or user tries to add call
soon after initiating a modify request, progress spinner is not hidden.
Fix this by clearing the progress spinner when primary call changes.
Change-Id: I3a5b28e36af3c73e797924cdf1b3cb87815296f1
|
|
Change-Id: Ie358626bd0085d3e29cace8622bfb049f679b2c5
Auto-generated-cl: translation import
|
|
Change-Id: Iea40345b31ea1fd35c1cfa7f9d5373854e99f8b3
Auto-generated-cl: translation import
|
|
|
|
When performing analytics, AnalyticsUtils accesses sharedpreferences
that aren't available while File based encryption locked. This change
ensures that the AnalyticsUtil isn't initialized unless it's needed.
Bug=26822105
Change-Id: Ib35cd89a9844a75c04294cdb99e9d7b4b6448825
|
|
|
|
This manager will be in charge of events related to
the spam feature actions (blocking, unblocking, enlisting
and removing from spam list). Implementation in ag/858553
Change-Id: Ica268e1305ccc1ccbb9a5a0e27eb6a2eb1f71849
|
|
+ ContactDisplayUtils's preferredName methods now accept the
ContactsPreferences object rather than just an int. This was done to
abstract out the null checks that were previously necessary when using
the utility.
+ Conference calls were crashing because the ContactsPreferences
object was attempting to access shared preferences while File based
encryption locked. This change makes use of the
ContactsPreferencesFactory to handle returning the proper instance
when in this locked case.
Bug=26822105
Change-Id: Ie382c0c615cf27f69682774fc9538828cc429e69
|
|
|
|
+ This change ensures that the Dialer doesn't try to use the
ContactsPreferences object (which uses information in unavailable
storage) while in File based encryption locked mode. Without these
checks, the Dialer crashes on receiving an incoming call while FBE
locked.
+ Added Factory method to create ContactsPreferences for tests/while
FBE locked/while FBE unlocked
+ Added tests for CallCardPresenter and StatusBarNotifier FBE related
code
Bug=26822105
Change-Id: I5df93526e70b7350885c7261982945c32b7e86a0
|
|
1. return complete ContactInfo in CallLogNotificationsHelper
2. use ContactInfo.userType to decide use work call title or not
BUG=26902076
Change-Id: Ic58fea1002de053ba69bc0aff06691b8a8605e64
|
|
Change-Id: Iec5190708caf1522d1108d3806d9d56bfecb8810
Auto-generated-cl: translation import
|
|
ours
am: 700c1baa6c -s ours
* commit '700c1baa6cb4c5d8f278d9e3fe11027abe664d02':
Import translations. DO NOT MERGE
|
|
am: 043043a0fb -s ours
* commit '043043a0fb8c8f448ec0f44d398fa1175002f452':
Import translations. DO NOT MERGE
|
|
ours
am: 580fa1d721 -s ours
* commit '580fa1d721e66ddf81a736cf60f942f187cb8642':
Import translations. DO NOT MERGE
|
|
am: 281981bcfa -s ours
* commit '281981bcfa26c6f0442952f0d297a39ff174d943':
Import translations. DO NOT MERGE
|
|
am: c417846595 -s ours
* commit 'c4178465956532a514e2f1516b09c9f2ce97f0fa':
Import translations. DO NOT MERGE
|
|
am: 0eafcdc3b6 -s ours
* commit '0eafcdc3b6aacb7d4fd0711c02a54fb45e70a626':
Import translations. DO NOT MERGE
|
|
am: 423b7469ce -s ours
* commit '423b7469cedc70d82d1b23237f980de7efd6f1a6':
Import translations. DO NOT MERGE
|
|
am: b6721bea61 -s ours
* commit 'b6721bea61f6dc9923c39d0f35feb4507bfc7936':
Import translations. DO NOT MERGE
|
|
am: 377fd8c6c8 -s ours
* commit '377fd8c6c8ea345b19ea223a8368f8e8de3d6649':
Import translations. DO NOT MERGE
|
|
Change-Id: If6ce351d3f7d8b5ad5f9a637fa78fb8adb0eb77c
Auto-generated-cl: translation import
|
|
am: b794b783e1 -s ours
* commit 'b794b783e1090a1e66969e4f7fa12d63de57c82e':
Import translations. DO NOT MERGE
|
|
Change-Id: Ie8013ef727b569ecbab9f1a9815501648d925978
Auto-generated-cl: translation import
|
|
Change-Id: Iaeaed177b00ca1f1da5610dd04051541aaa07e92
Auto-generated-cl: translation import
|
|
Change-Id: I5a04561215e94749b71564b2d5711be543350e1a
Auto-generated-cl: translation import
|
|
|
|
Moved visual voicemail code from CallLogFragment to
VisualVoicemailCallLogFragment.
Expected to have a lot of VVM specific code in the fragment, so it's
better to separate them.
Change-Id: I0fcad51d08f1a174a42f940fd455ce885d76c4ae
|
|
am: 55b160e537
* commit '55b160e5375a5b9824a250c95ce8267fce9ec894':
Don't print phone number into Android log
|
|
Use Log.pii to hash pii
BUG=26635632
Change-Id: I3c03ec2347e251696f6c0c78f8b39d6e34b6afcc
|
|
|
|
* changes:
Adding method to check if call waiting tone should be played
Refactored dialer Ringtone code in prep for call waiting
|
|
+ This method will be used in StatusBarNotifier to determine when
call waiting tones should be played instead of the standard ringtone
Change-Id: I4ad55f3870de5e63d03f4a5e8534680fa24556bd
|
|
+ Created class that is responsible for determining if a ringtone should
be played.
+ This class will also have the code to play call waiting tones
Change-Id: Ie8fb633c8a233cc6b54beeb09b3fd6b62c9cb76c
|
|
Set the appropriate flag to make AOSP dialer resizeable.
Bug: 26470449
Change-Id: I031cfe7b0df9aed94862f8e863f347c1af154aba
|
|
- Remote contact lookup was overwriting the cached contact specific
ringtone. This resulted in a longer wait time for the ringtone to
play since it would require the contact lookup to complete again.
- This CL prevents the cached ringtone from being overwritten.
Change-Id: I0a1cb30acd3aaf540533429c01427b185a7acf66
|
|
am: b68e8129c0
* commit 'b68e8129c056c60e78188e6fbcd6179406723eaa':
Adding flag to enable/disable Dialer ringing
|
|
am: 88bbc3e5cc
* commit '88bbc3e5ccc78fe36a573f377e07c1fd37934421':
Adding meta-data for Dialer to play ringtone
|
|
Bug=26864105
Change-Id: Ifc565320dd9fd8845c45551454e59020806d985c
|
|
Bug=26864105
Change-Id: Ic34db9109d53f1b23cbb9582b4661c9b983eee50
|
|
ub-contactsdialer-b-dev
am: 84674fbb16
* commit '84674fbb168e7333fc77508ae1d17eebad6a8224':
Remove the work badge icon for Google caller id in call log
|
|
ub-contactsdialer-b-dev
|
|
ub-contactsdialer-b-dev
am: 8a5ff66b41
* commit '8a5ff66b4136af7e7353d2b408a69262ee89013c':
Add downgrade to audio button for video calls.
|
|
ub-contactsdialer-b-dev
|
|
am: e8318d00f6
* commit 'e8318d00f6ed1ddbec23be052d6751076e87137c':
Play the ringtone for incoming calls in Dialer
|
|
+ Initial CL to make the Dialer play a ringtone for incoming calls.
- Not included in this CL:
- Playing call waiting tone
- Silencing ringer when volume key is pressed (power button works
properly)
- Bug fix for ringtone not playing when lockscreen is set
- Bug fix for contact look up taking too long - when do we play the
default ringtone
Change-Id: Ie8bd042b9ec142c78cb4d2de66475c96a18b8273
|
|
am: 4f84f9c23d
* commit '4f84f9c23d1175800a4575097ce3acb1b958a35a':
Look up missed call contact info in cache.
|
|
am: cc42b59535
* commit 'cc42b5953588110cc89b43e72d2b6579757017a1':
Display missed call notifications in Dialer.
|
|
For missed calls that can be identified with Google Caller ID, we want to look
up the contact information in the cache because that's where the
information will be if it was looked up when the call was incoming.
Bug: 22857261
Change-Id: I2563c9f5e99bdc91674b9b46def1eeabeb45794d
|
|
Dialer is now putting up the missed call notification instead of
Telecom. As a result, it has to handle receiving a new missed call
broadcast and sending requests back to Telecom to update the missed call
count.
+ MissedCallNotifier class displays notifications and triggers call back
sms, and dismiss intents.
+ CallLogNotificationsService added actions it can handle for missed
calls.
+ MissedCallNotificationReceiver receives the missed call intent to update
the notifications.
Bug: 22857261
Change-Id: I03a3c3b5a2533a3ea26d668124fcaf3fa72347fc
|
|
- Add downgrade to audio button for video calls where the call capabilities
indicates that it is supported.
- Requires N SDK or higher.
Bug: 22728624
Change-Id: I92aaf1d1e77da82c2ad982a57bb2eae599cff4da
|
|
An extended directory is custom directory in the app,
but not a directory provided by framework. So it can't
be USER_TYPE_WORK
When a search result is selected, RegularSearchFragment
calls getContactInfo and caches the resulting @{link ContactInfo}
into a local db. Set userType to USER_TYPE_WORK only
if it's NOT extended directory id and is enterprise directory
BUG=26680007
Change-Id: I92aa4b7c3dac20257e689eb0a4dfa0afbd81764c
|
|
ub-contactsdialer-b-dev
am: e96b82ccd6
* commit 'e96b82ccd6936d2f0786d3ae0740efdd2e60e7b4':
Dismiss dialpad when clicking in search area.
|
|
ub-contactsdialer-b-dev
|
|
am: 16be8a259c
* commit '16be8a259c6d4c0484160d900f411b436ba10ef5':
Move AppCompatPreferenceActivity to ContactsCommon
|
|
Bug: 26469731
Change-Id: Idff6aabfaa07b31160ddad87a2f51ac87ed20345
|
|
into ub-contactsdialer-b-dev
am: ccfb9e42ea
* commit 'ccfb9e42ea60ba7a8f024d93da2b8c19657f8bf6':
Open work profile QuickContacts for work contacts in personal dialer
|
|
into ub-contactsdialer-b-dev
|
|
am: d55f76a673
* commit 'd55f76a673812cf573b06223bb3aef15c3e9c355':
Use telephony voicemail notification settings for vvm.
|
|
Previously visual voicemail notifications did not align with the
telephony voicemail notification settings that the user could visit
through dialer settings. After adding an API to access those telephony
settings, dialer can now read those settings and use them when providing
notifications for visual voicemail.
Bug: 24164917
Change-Id: I2510dc3d3f1b5b54a378b2c0d59a24ae1ff198d7
|
|
Set lookup key for enterprise contacts to allow QuickContacts to open it.
It requires framework change in NYC to support it.
BUG=26176780
Change-Id: I61345d52aa9fa296fdf95eca624b295c86925e46
|
|
Change-Id: I7f265718cd86b28c230c6fd484d90f54204410d1
Auto-generated-cl: translation import
|
|
ub-contactsdialer-b-dev
am: a671972b8d
* commit 'a671972b8d50d654c3d455f9abf7a0da6c353ec8':
Factor out lookup code in DefaultVoicemailNotifier.
|
|
ub-contactsdialer-b-dev
|
|
In preparation for sharing code with the MissedCallNotifier, factor out
the potential common code into CallLogNotificationsHelper.
+ Turn CallLogNotificationsHelper into a singleton.
+ Copy over NewCallsQuery and NameLookupQuery classes.
+ If it is a voicemail with unknown number, display the string
"unknown".
Bug: 22857261
Bug: 25020236
Change-Id: Ie181472bd4588466ec5f37c8cbacf023ba1a21c4
|
|
am: 94d369a87c
* commit '94d369a87c73fb55fd2341191bfafc56ea0879aa':
Added UserManagerCompat#isUserUnlocked method
|
|
ub-contactsdialer-b-dev
am: 8a63fc40cb
* commit '8a63fc40cbd04c9f3d3ce8bffac8340f62d19ddb':
Hiding addCall button while the device is fbe locked
|
|
am: db576118c0
* commit 'db576118c094a67b5c60b8c63f4426c9530ba94a':
Ensuring quickResponse isn't available while fbe locked
|
|
ub-contactsdialer-b-dev
|
|
If a user goes from the search fragment to the dialpad and then clicks
on the space above the dialpad, they probably expect to go back to the
search fragment--dismiss the dialpad. See the bug for context.
Bug: 23302853
Change-Id: I69053a2c8289f18d99e47c5d539a5ba94bde2ab6
|
|
Bug=26543932
Change-Id: I37c46404f20d16c91ab391c14b7f2d2cb5528630
|
|
+ Needed to ensure that N sdk method calls aren't compiled into the
apk prior to the sdk launch
Bug=26542221
Change-Id: Iefc54caa5cb15758f011fc38c50c2ff1efa8c5c2
|
|
+ Sending an outgoing message is not supported while in the fbe
locked state so the option to send an SMS should always be hidden.
Bug=26542221
Change-Id: I9d630bdf73ec9f6965607c60f36b7a04c04f4134
|
|
Change-Id: I0ee15ef3619e8922f5cb03b55b5e3038eb5d58b9
Auto-generated-cl: translation import
|
|
Change-Id: I1db684d4c2a2eaf7f2a9934280566f3269a9ecfa
Auto-generated-cl: translation import
|
|
ub-contactsdialer-b-dev
am: e9fd1cf0e3
* commit 'e9fd1cf0e3dde7b0f5f25dc195a25fb83b22c0de':
New Spam-related options in call log entries.
|
|
ub-contactsdialer-b-dev
|
|
This includes small UI additions to the call log UI; Mainly,
two new buttons to mark each phone number entry as a Spam number
or remove the phone number from the spam list. This also includes
a service definition that will be needed to render the buttons or
keep them hidden.
Change-Id: I7cf22f6027728ebc0dfe9e3b5b923ee70bcaadd2
|
|
Change-Id: Ib2a8adcb4e0c116970948e6c05edff3b820f9e0c
Auto-generated-cl: translation import
|
|
Change-Id: Id8c95ff49487d80ee85bac221cae2f698d7f247b
Auto-generated-cl: translation import
|
|
into ub-contactsdialer-b-dev
am: 637a013d36
* commit '637a013d366fd9300fa7a9efb5024ac592bca537':
Hide "copy" and "block" options for unknown numbers in Call Details.
|