Age | Commit message (Collapse) | Author |
|
The number of unread missed calls are displayed beside the Call Log as a
badge. All unread missed calls are bolded under the call log tab. When
exiting the call log tab, all unread calls are marked as read. When
interacting with an unread missed call card while in the call log tab,
it will subtract 1 from the badge.
Cherry-picked from d118a8e0d8a68499398504f350f81175118e2ecf
BUG=24953555
Change-Id: If91a3bc89197465934cb773955e4bec005d6d14e
|
|
Instead of showing a 00:00 duration, nothing is displayed. When the
content is loaded, the duration field for the call log entry associated
with the voicemail is updated with the duration fetched from the
mediaplayer. The proper duration is then displayed in MM:SS format.
BUG=24175525
Change-Id: I1cafebae4fcbc749f573accfcf8833b598675f0b
(cherry picked from commit 6f3016d9065564bf09a5759f16563a05abbe105d)
|
|
The duration of the voicemail is appended to the date in a MM:SS format.
BUG=25728257
Change-Id: I9c3e392336877c2ca69707e14c6ab2eed6f2e7c6
(cherry picked from commit 3f70c27d80b2e3176159f561248f95612d66afe2)
|
|
Stores the voicemail content and call log information for all the
voicemails that have been archived.
BUG=22797391
Change-Id: I1b5d98ab17d3d6f32d6797c2c51b50bcd29cd5fa
(cherry picked from commit ca67dbe4b04a6eaaa106d40c199bc86d64d94e40)
|
|
|
|
+ MockContentProvider currently only supports mocking queries, so
the tests added are specifically for methods that perform queries.
+ Previously wasn't tested, added some tests since I'll be making
more changes to this class.
Bug=26664600
Change-Id: I901fbaa7f753cb3004102e5e912aa0481f03ccb0
|
|
Now that we're no longer backwards compatible with Lollipop we don't
need CallAudioStateCompat. See ag/870962 for more info.
Bug: 26676586
Change-Id: I7c754d89a6c9e13bf5a004b7c5b15b88b9aff9ad
|
|
This CL adds a new build-library.gradle file for AOSP dialer.
This allows the dialer to be built as a library that can be
included from GoogleDialer.
Switching to a library project meant making two other changes:
- changed all switch statements that used resources to if statements.
This was required because resource IDs are not final in library
projects.
- changed InCalUI code to import com.android.dialer.R instead of
com.android.incallui.R. See http://b.android.com/82743 for more info
on why this is required.
src-N isn't supported yet. Also, this isn't the ideal project layout.
In the future we should consider switching to the following layout:
- dialer/incallui/ <- incall UI as an independent library project
- dialer/dialerlib/ <- dialer code as an independent library project
- dialer/app <- skelent app that builds a standalone dialer AOSP app
Bug: 26676586
Change-Id: I07fbee4d33cc683539e4f8b3953c93f1427af9d7
|
|
into nyc-dev
|
|
Current dialer always queries PhoneLookup._ID and uses this as a contact
ID.
In pre-N, contact id of non-sip query is stored in PhoneLookup._ID and
it is actually a mistake. This problem does not exist in sip query,
and contact id of sip query is stored in Data.CONTACT_ID. So it is a "bug"
in dialer that we use PhoneLooup._ID for sip query as it is not really a
contacat id. The bug of missing work badge may not be the only issue
introduced by this.
In N, the issue is get fixed in framework, PhoneLookup.CONTACT_ID is
introduced. We should access PhoneLookup.CONTACT_ID no matter what
phone lookup query we are having.
The ideal case is we always use PhoneLookup.CONTACT_ID for retrieving
contact id, but given that we need to support in pre-N, we need to
query PhoneLookup._ID for contact id in non-sip query in pre-N.
BUG:27242975
Change-Id: Id14378e3dce5b07629ffe0c6e83c3d107fbb468e
|
|
|
|
This reverts commit 16be8a259c6d4c0484160d900f411b436ba10ef5.
Change-Id: Iaf0ea70a40198c483f33894cfc0b75a4cd916afb
(cherry picked from commit 0fba743c4eb9ff0832e03156c6a09fa7a15a8a40)
|
|
+ Voicemails were coming in with a null accountComponent name causing
crashes. It's unknown why this is the case. This change checks for
null prior to attempting to use these fields.
Bug=27202534
Change-Id: I48f4f188bd75aca7204d74aecfe76f2c75b730d8
|
|
Bug: 26863771
Change-Id: I048fae6cf36115f14d1b5a91e6c0c20e4130a2ae
|
|
into nyc-dev
|
|
- The smart dial search normalizes the dial string, and removes
anything other than digits.
- Original dial string contains the number which is actully entered
by user. Pass this number as it is as dialed number validation is
already taken care by APIs defined in PhoneNumberUtils.
Bug=27074055
Change-Id: Ib85750abef765ace127ebde3a13397b4dfad48fa
|
|
Getting rid of the Manager to have the ButtonRenderer directly
communicate changes to an event listener. Implementation changes
in ag/863096.
Cherry picking to nyc-dev to fix build.
Change-Id: I8061116f0b91e3f5a6a3a6eac09fe2171ebcbd5c
|
|
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/864087]
To avoid OOM, take InputStream instead byte[] as argument.
BUG=26111304
Change-Id: Ia985e58eea90c2acfd988494ea153955daa3c272
|
|
Change-Id: I2ad8e07cf6538ed7b5685b2f9695acb09a71e483
(cherry picked from commit 5c0cbaeaadf976a821128a99462beda4ac6955d7)
|
|
|
|
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
|
|
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
|