Age | Commit message (Collapse) | Author |
|
1. return complete ContactInfo in CallLogNotificationsHelper
2. use ContactInfo.userType to decide use work call title or not
BUG=26902076
Change-Id: Ic58fea1002de053ba69bc0aff06691b8a8605e64
|
|
|
|
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
|
|
Use Log.pii to hash pii
BUG=26635632
Change-Id: I3c03ec2347e251696f6c0c78f8b39d6e34b6afcc
|
|
ub-contactsdialer-b-dev
|
|
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
|
|
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
|
|
Bug: 26469731
Change-Id: Idff6aabfaa07b31160ddad87a2f51ac87ed20345
|
|
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
|
|
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
|
|
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
|
|
+ Needed to ensure that N sdk method calls aren't compiled into the
apk prior to the sdk launch
Bug=26542221
Change-Id: Iefc54caa5cb15758f011fc38c50c2ff1efa8c5c2
|
|
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
|
|
into ub-contactsdialer-b-dev
|
|
callers." into ub-contactsdialer-b-dev
|
|
ub-contactsdialer-b-dev
|
|
ub-contactsdialer-b-dev
|
|
This reverts commit 201e021fe24e36ae2d94eadd4701933dd099d309.
Change-Id: I9b8e9bc74d23cea7c668166d275033c8fddf52cf
|
|
If the number string is unknown or can't be called, the call details
screen should not show the "copy number" and "block number" options.
Bug: 26445855
Change-Id: I219d99709de75e641e3603c52209fe362a20e6ba
|
|
ub-contactsdialer-b-dev
|
|
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.
Also provide a VoicemailNotificationSettingsLookup class to enable
separate functionality for N and pre-N.
Bug: 24164917
Change-Id: I45d746b485be2f1db90b66a96885ba1485743b49
|
|
+ Necessary in-call components are marked as encryptionAware.
+ Added needed null checks since the filtered number table isn't
available when fbe locked.
Bug=26542121
Change-Id: I316cd62c1faec471356794db433b9f631f293c4f
|
|
For calls, we will never display an empty name field because we have the
"name presentation" from the call that will inform the UI how to display
the name (whether "restricted", "unknown", etc.). However for
voicemails, there is no such similar field because the voicemail is not
associated with a particular call. In the case where the name field in
the voicemail table is blank (which would be the case if the server failed to
provide it or the caller obscured their phone number), instead of
displaying an empty string, this CL defaults the name to "unknown".
Bug: 25020236
Change-Id: I7355abb88ac4ac90f7b19c86f335964aaad336aa
|
|
ub-contactsdialer-b-dev
|
|
ub-contactsdialer-b-dev
|
|
This reverts commit 5cfa2c31a9877563a383c3c6ee10790af9db61d0.
Change-Id: Iabae03ca3dc671775779e2a61e380193341fad8a
|
|
Was using a hack before to implement the FAB behavior. Fixed it to the
correct implementation.
Bug: 23687913
Change-Id: I3b667cd656f0f1a82800ad0afe96acdd9c093606
|
|
into ub-contactsdialer-b-dev
|
|
This reverts commit 70b2cc2c5a9ca7f16c730f7329112416fee0fffd.
Change-Id: I9ad37bf5bebf9a302c96038385d420e1c8c5f19b
|
|
ub-contactsdialer-b-dev
|
|
ub-contactsdialer-b-dev
|
|
+ All in-call components are marked as encryptionAware so Telecom can
bind to and use them.
+ Added null checks on cursors. When in FBE locked state,
non-encryption aware ContentProviders return null
Bug=26542121
Change-Id: Ia49536c957d3d721401c05bf638fdd9dd371a731
|
|
Add work badge icon in calllog for work contacts
To see this feature
1. Receive/Make a call from work contact
(a contact in work profile has the phone number)
2. Drop/miss the call. See a badge icon next to phone label in calllog
BUG=26082618
Change-Id: I7371795e3c3ef925739096f39a70f03722dd430b
|
|
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: I3e8335be7fa1d265616818a6543bfe9242104560
|
|
|
|
NumbersAdapater didn't properly handle null returns from
ContactInfoHelper#lookupNumber(String, String), which is part of
the method's documented contract.
Bug=26337800
Change-Id: Ib974e83c22982ad4151fab564c91a61c112ca2ae
|
|
ub-contactsdialer-b-dev
|
|
+ Add methods to TelecomManagerCompat
- Move TelecomManagerCompat to ContactsCommon because it is called
within ContactsCommon
- Move TestTelecomCallLogCache to the right package so tests pass
Bug: 25776171
Change-Id: I1963959292d8038ab505488d831afd06e6fef6d0
|
|
Bug: 25776171
Change-Id: Ib429e45f939db6fb0e3457467b95db3dab8fe6eb
|
|
The method was a system API pre-M, but a public method in M. Added a
compat method which checks if the method is callable. In the event that
the method can't be called, the compat method is a noop - this matches
the functionality from the L version of the phone.
Bug=25776171
Change-Id: I4a9fc19bb2bf2749d697da2b8643601ebd1eb4a8
|
|
ub-contactsdialer-b-dev
|
|
- Update SmartDial database to track carrier presence.
- Add video call style elements to dialer stylesheet.
- Tore out hair in frustration tracing through code.
- Add listeners to allow dialing of video calls from search results.
Bug: 20257833
Change-Id: I476cccb8c2805ae6f9949366fc5c2ce2669b7734
|
|
Added TelecomManagerCompat with methods necessary to start the InCallUI
without crashing.
Bug=25776171
Change-Id: I851f0252bdce9845e5211338637f16826479bc58
|
|
ub-contactsdialer-b-dev
|
|
UserManager.isSystemUser() is not available pre-M, so we need to copy
over the logic.
Bug: 25776171
Change-Id: I8e7c8e7215a8b55009283ecb137cc54443e61ab8
|
|
Check for null activity.
Bug:26183802
Change-Id: Ic1bdae3611513f43b5556145ea72aaf22d602a74
|
|
into ub-contactsdialer-b-dev
|
|
am: 52cd5fd66d
* commit '52cd5fd66d0b97e066f89281eb55016dedfeec3a':
Fix potential NPE in DefaultVoicemailNotifier
|
|
Don't try to format an empty number
Bug: 26095129
Change-Id: I6356c24e03066babd22217b24004f9ae9a53a67b
|
|
Bug: 26092525
Change-Id: Id3e54a197ed8bfb51b9b01bbc98a4ee81b28d9ee
|
|
Use alternative means or just return empty lists when calling methods
that require MSIM in pre-LMr1 devices.
Also move compatability checks to ContactsCommon for methods that may
be called in ContactsCommon as well as Dialer
Bug: 25776171
Change-Id: I074bb147dbd53d623f322482ad735391c84ae5ad
|
|
Check for null phoneNumber
Bug:25973238
Change-Id: I019bf4be0598896a8f4a93f5331d98f78f98b786
|
|
ub-contactsdialer-b-dev
|
|
ub-contactsdialer-b-dev
|
|
Bug: 25776171
Change-Id: Ia72b3d4a30783592f8894e0eaa890be7c60743ea
|
|
The blocked_number_fragment gets removed from the
BlockedNumbersSettingActivity when we change to the search view. Doing
so causes a crash when we attempt to show a Snackbar with that fragment
as the parent view. Instead we use the container for the Management
screen since it doesn't get removed.
Bug:26032803
Change-Id: I6b14447fa75eb2618f511799d4f947ab432611f9
|
|
BUG=25899500
Change-Id: Ie235822462e2a430b1bec93923bd8c1fe00f101f
|
|
ub-contactsdialer-b-dev
|
|
|
|
Bug:25776171
Change-Id: Id6cccaa6af10e91defa70b1c4759cd3b48494e7c
|
|
into ub-contactsdialer-b-dev
|
|
known issue:b/25859809
BUG=25899500
Change-Id: Ia61250707981b49efebb6e2c2e4910f58a1233dd
|
|
|
|
ub-contactsdialer-b-dev
|
|
TelecomCallLogCache creates a mapping between PhoneAccount and per-SIM
information like voicemail number which is not relevant pre-LMr1. Create
a compatibility classes so that MSIM functionality is factored out
pre-LMr1.
Bug: 25776171
Change-Id: I67b012110829121dffa42d542aa0395d683fa78b
|
|
Change-Id: Ib4baa544925f8bcc6b8f4df8989927ebb3635ce3
|
|
Bug: 25813349
Change-Id: I3e26ec2edd917df4892d401867acbeb5f97edf64
|
|
Given that we allow every users to have their own phone accounts, it
doesn't make sense we only allow primary user to configure its default
outgoing account.
This change allows other user to configure default outgoing account as
well.
Bug: 25941865
Change-Id: Iad7c93366c77dfafc06ae8a7bb4fed3cb7eb1c79
|
|
Bug: 25776171
Change-Id: Ib123da80c6f902c81ad09d9b9ca7fb93df057d1a
|
|
Only if the current sdk version is at least M, do we look up the
CACHED_PHOTO_URI
Bug: 25776171
Change-Id: I79ac81abb4da719ffdb5476476a9a28c287c95f6
|
|
Trap NPE thrown by pre-N CP2.
Bug:25941069
Change-Id: Id510e84e6e7e4a63a9b3267c183e23b73b0fabbc
|
|
ub-contactsdialer-b-dev
|
|
These settings were removed from the Settings screens
since TelecomManager won't respond to the corresponding intents that
would be fired off.
Bug: 25776171
Change-Id: I425832245744239d636f227178479fbb5aa49092
|
|
Bug: 25818151
Change-Id: I6b8b5ebfe1c9555b8394ad7db652e23bbc216f83
|
|
Restores code deleted in ag/643285 because the code was used on pre-M.
Bug:25629359
Change-Id: Ief60d301fd8d3c018ce03388c56264a2db727224
|
|
call." into ub-contactsdialer-b-dev
|
|
ub-contactsdialer-b-dev
|
|
Since TelecomManager was hidden in L, calls to getDefaultDialerPackage
will crash. Furthermore, default dialer was not even a concept in
Android <M so return false for the isDefaultDialer check.
Bug: 25776171
Change-Id: I05c9f55b69bdbe1e07cf44886dbff29d99f36bbb
|
|
SettingsCompat.System.canWrite returns true for versions older than M
because prior to M, permissions had to be granted prior to installing
the app. It's only in M and above that we check for permissions at
runtime.
Bug:25776171
Change-Id: Iee2250248223e7237f8eaa506b277e301e289cc0
|
|
Bug: 25776171
Change-Id: I4bf43d5f8c2026c0ae593cdbcf0572db0808970a
|
|
compatibility." into ub-contactsdialer-b-dev
|
|
Bug: 25776171
Change-Id: Id567c28af9e2578036c9db97389f66093198de09
|
|
Bug: 25776171
Change-Id: I369cd9ac77f866c72e88da9750aa8e62b610c2da
|
|
into ub-contactsdialer-b-dev
|
|
For DialerCompatUtils first trick, add a function to check whether video
calling is compatible with the current version.
Bug: 25776171
Change-Id: I0d6c8181ec53f00785032ba52b484fb1c8e6ea47
|
|
requestPermissions is not available to the Fragments class and
checkSelfPermission is not available to the Context class in API < 23.
Use other backwards compatible methods to implement the behavior.
Bug: 25776171
Change-Id: I6cb221236f28b319f618d2cf32a9f503a6f4e6e0
|
|
getContext() did not exist prior to API level 23, so override
getContext() to return the activity in dialer code.
Bug: 25776171
Change-Id: I817a1ba2ef29c032065b1e7eee6c033b050fb61d
|
|
am: a2884c6dbf
* commit 'a2884c6dbfc9ec2d0a7c5123ec9d0824fc4ee099':
Fix NPE in ListsFragment.
|
|
|
|
Bug: 25694033
Bug: 25668829
Change-Id: I5254eed0c473fa8a9e801f4fa253d6fdfc885836
|
|
am: cbed581719
* commit 'cbed581719fdd31daa0f7aa096bb2ca7d40456d3':
Catch work profile CP2 lookup exception
|
|
Catch IllegalArgumentExceptions throw for work profile contact alternative
display name lookups.
Bug:25680927
Change-Id: I1e3245239c8521de6edc5286a898547fc83bd23e
|
|
am: f3b23ba40d
* commit 'f3b23ba40d6c6c60f7e01c84df69712d7ae9bae0':
Modiying callLog context menu to force numbers LTR
|
|
Bug:25516713
Change-Id: I5b239afa81c7a5e8225f21d57161a5012ab5e421
|
|
am: d81cc6c64f
* commit 'd81cc6c64f3213f571c1f1e7a5c7e59b71491fb0':
Adding Logging to call blocking interactions
|
|
+ Added Clearcut logging when users block, unblock, undo,
or import blocked numbers. Location of blocking is noted, e.g. CallLog,
CallDetails, ManagementScreen
+ Added class with Constants matching proto definition
Bug: 25288435
Change-Id: I7fbef52d0e31b49c31dadbc0b4d775969d97420a
|