summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-02-24[DO NOT MERGE] Display missed call count for call log.Sarmad Hashmi
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
2016-02-24Fix bug where 00:00 duration is shown for voicemails without a duration.Sarmad Hashmi
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)
2016-02-24Collapsed and expanded voicemail cards show duration.Sarmad Hashmi
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)
2016-02-24Add voicemail_archive_table to dialer database.Sarmad Hashmi
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)
2016-02-24Merge "Added tests for FilteredNumAsyncQueryHandler" into nyc-devBrandon Maxwell
2016-02-23Added tests for FilteredNumAsyncQueryHandlerBrandon Maxwell
+ 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
2016-02-22Remove CallAudioStateCompatSailesh Nepal
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
2016-02-22[Gradle] Allow dialer to be compiled as a librarySailesh Nepal
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
2016-02-22Merge "Show Briefcase icon not displayed in in-call UI for work SIP calls" ↵Tony Mak
into nyc-dev
2016-02-22Show Briefcase icon not displayed in in-call UI for work SIP callsTony Mak
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
2016-02-22Merge "Fix crash when rotating in multi-window mode." into nyc-devQi Wang
2016-02-21Revert "Move AppCompatPreferenceActivity to ContactsCommon"Wenyi Wang
This reverts commit 16be8a259c6d4c0484160d900f411b436ba10ef5. Change-Id: Iaf0ea70a40198c483f33894cfc0b75a4cd916afb (cherry picked from commit 0fba743c4eb9ff0832e03156c6a09fa7a15a8a40)
2016-02-19Null check for accountComponentName and IdBrandon Maxwell
+ 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
2016-02-18Fix crash when rotating in multi-window mode.Qi Wang
Bug: 26863771 Change-Id: I048fae6cf36115f14d1b5a91e6c0c20e4130a2ae
2016-02-18Merge "IMS-VT: Use original dialed string instead of normalized dial string" ↵Tyler Gunn
into nyc-dev
2016-02-17IMS-VT: Use original dialed string instead of normalized dial stringOmkar Kolangade
- 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
2016-02-17DO NOT MERGE: Listener of spam eventsGilles Franck Mevaa
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
2016-02-12Use DATA.CONTACT_ID when lookup SIP callTony Mak
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
2016-02-11Cache directory photo in app storage through CachedNumberLookupServiceVictor Chang
[cherry-pick from ag/864087] To avoid OOM, take InputStream instead byte[] as argument. BUG=26111304 Change-Id: Ia985e58eea90c2acfd988494ea153955daa3c272
2016-02-11Renaming Dialer elements from Spam to ExtendedBlockingGilles Franck Mevaa
Change-Id: I2ad8e07cf6538ed7b5685b2f9695acb09a71e483 (cherry picked from commit 5c0cbaeaadf976a821128a99462beda4ac6955d7)
2016-02-06Merge "Ensuring AnalyticsUtil isn't run while FBE locked"Brandon Maxwell
2016-02-05Ensuring AnalyticsUtil isn't run while FBE lockedBrandon Maxwell
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
2016-02-05Merge "Spam Manager framework for event handling."Gilles Franck Mevaa
2016-02-05Spam Manager framework for event handling.Gilles Franck Mevaa
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
2016-02-04Show work call title for missed call notificationVictor Chang
1. return complete ContactInfo in CallLogNotificationsHelper 2. use ContactInfo.userType to decide use work call title or not BUG=26902076 Change-Id: Ic58fea1002de053ba69bc0aff06691b8a8605e64
2016-02-02Merge "Refactor VVM specific code from CallLogFragment"Ta-wei Yen
2016-02-01Refactor VVM specific code from CallLogFragmentTa-wei Yen
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
2016-02-01Don't print phone number into Android logVictor Chang
Use Log.pii to hash pii BUG=26635632 Change-Id: I3c03ec2347e251696f6c0c78f8b39d6e34b6afcc
2016-01-28Merge "Remove the work badge icon for Google caller id in call log" into ↵Victor Chang
ub-contactsdialer-b-dev
2016-01-27Look up missed call contact info in cache.Nancy Chen
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
2016-01-27Display missed call notifications in Dialer.Nancy Chen
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
2016-01-27Remove the work badge icon for Google caller id in call logVictor Chang
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
2016-01-26Merge "Dismiss dialpad when clicking in search area." into ↵Nancy Chen
ub-contactsdialer-b-dev
2016-01-25Move AppCompatPreferenceActivity to ContactsCommonWenyi Wang
Bug: 26469731 Change-Id: Idff6aabfaa07b31160ddad87a2f51ac87ed20345
2016-01-25Use telephony voicemail notification settings for vvm.Nancy Chen
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
2016-01-23Merge "Factor out lookup code in DefaultVoicemailNotifier." into ↵Nancy Chen
ub-contactsdialer-b-dev
2016-01-21Factor out lookup code in DefaultVoicemailNotifier.Nancy Chen
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
2016-01-21Dismiss dialpad when clicking in search area.Nancy Chen
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
2016-01-20Added UserManagerCompat#isUserUnlocked methodBrandon Maxwell
+ Needed to ensure that N sdk method calls aren't compiled into the apk prior to the sdk launch Bug=26542221 Change-Id: Iefc54caa5cb15758f011fc38c50c2ff1efa8c5c2
2016-01-19Merge "New Spam-related options in call log entries." into ↵Gilles Franck Mevaa
ub-contactsdialer-b-dev
2016-01-19New Spam-related options in call log entries.Gilles Franck Mevaa
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
2016-01-15Merge "Hide "copy" and "block" options for unknown numbers in Call Details." ↵Nancy Chen
into ub-contactsdialer-b-dev
2016-01-15Merge "Display "unknown" in the name field for voicemail with unknown ↵Nancy Chen
callers." into ub-contactsdialer-b-dev
2016-01-15Merge "Changes needed to make Incoming calls work while fbe locked" into ↵Brandon Maxwell
ub-contactsdialer-b-dev
2016-01-15Merge "Revert "Use telephony voicemail notification settings for vvm."" into ↵Nancy Chen
ub-contactsdialer-b-dev
2016-01-15Revert "Use telephony voicemail notification settings for vvm."Nancy Chen
This reverts commit 201e021fe24e36ae2d94eadd4701933dd099d309. Change-Id: I9b8e9bc74d23cea7c668166d275033c8fddf52cf
2016-01-14Hide "copy" and "block" options for unknown numbers in Call Details.Nancy Chen
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
2016-01-15Merge "Use telephony voicemail notification settings for vvm." into ↵Nancy Chen
ub-contactsdialer-b-dev
2016-01-14Use telephony voicemail notification settings for vvm.Nancy Chen
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
2016-01-14Changes needed to make Incoming calls work while fbe lockedBrandon Maxwell
+ 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
2016-01-14Display "unknown" in the name field for voicemail with unknown callers.Nancy Chen
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
2016-01-15Merge "Implement FloatingActionButton.Behavior method correctly." into ↵Nancy Chen
ub-contactsdialer-b-dev
2016-01-14Merge "Revert "Use telephony voicemail notification settings for vvm."" into ↵Nancy Chen
ub-contactsdialer-b-dev
2016-01-14Revert "Use telephony voicemail notification settings for vvm."Nancy Chen
This reverts commit 5cfa2c31a9877563a383c3c6ee10790af9db61d0. Change-Id: Iabae03ca3dc671775779e2a61e380193341fad8a
2016-01-13Implement FloatingActionButton.Behavior method correctly.Nancy Chen
Was using a hack before to implement the FAB behavior. Fixed it to the correct implementation. Bug: 23687913 Change-Id: I3b667cd656f0f1a82800ad0afe96acdd9c093606
2016-01-14Merge "Revert "Changes needed to make Incoming calls work while fbe locked"" ↵Brandon Maxwell
into ub-contactsdialer-b-dev
2016-01-14Revert "Changes needed to make Incoming calls work while fbe locked"Brandon Maxwell
This reverts commit 70b2cc2c5a9ca7f16c730f7329112416fee0fffd. Change-Id: I9ad37bf5bebf9a302c96038385d420e1c8c5f19b
2016-01-14Merge "Use telephony voicemail notification settings for vvm." into ↵Nancy Chen
ub-contactsdialer-b-dev
2016-01-13Merge "Changes needed to make Incoming calls work while fbe locked" into ↵Brandon Maxwell
ub-contactsdialer-b-dev
2016-01-13Changes needed to make Incoming calls work while fbe lockedBrandon Maxwell
+ 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
2016-01-13Show work badge icon/description in InCallUI/DialerVictor Chang
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
2016-01-13Use telephony voicemail notification settings for vvm.Nancy Chen
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
2016-01-06Merge "Fixing NullPointer in NumbersAdapter" into ub-contactsdialer-b-devBrandon Maxwell
2016-01-05Fixing NullPointer in NumbersAdapterBrandon Maxwell
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
2016-01-05Merge "Support carrier presence-based video calling icon." into ↵Tyler Gunn
ub-contactsdialer-b-dev
2015-12-28Make TelecomManager APIs compatible with Lollipop. (1/3)Nancy Chen
+ 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
2015-12-28Move TelecomManagerCompat to ContactsCommon (2/3).Nancy Chen
Bug: 25776171 Change-Id: Ib429e45f939db6fb0e3457467b95db3dab8fe6eb
2015-12-21Backporting calls to TelecomManager#silenceRingerBrandon Maxwell
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
2015-12-18Merge "Backporting necessary code to place calls on nonOEM devices" into ↵Brandon Maxwell
ub-contactsdialer-b-dev
2015-12-18Support carrier presence-based video calling icon.Tyler Gunn
- 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
2015-12-18Backporting necessary code to place calls on nonOEM devicesBrandon Maxwell
Added TelecomManagerCompat with methods necessary to start the InCallUI without crashing. Bug=25776171 Change-Id: I851f0252bdce9845e5211338637f16826479bc58
2015-12-17Merge "Fix DialerSettingsActivity so it does not crash pre-M." into ↵Nancy Chen
ub-contactsdialer-b-dev
2015-12-17Fix DialerSettingsActivity so it does not crash pre-M.Nancy Chen
UserManager.isSystemUser() is not available pre-M, so we need to copy over the logic. Bug: 25776171 Change-Id: I8e7c8e7215a8b55009283ecb137cc54443e61ab8
2015-12-14Fix NPE in startLoadingJay Shrauner
Check for null activity. Bug:26183802 Change-Id: Ic1bdae3611513f43b5556145ea72aaf22d602a74
2015-12-11Merge "Guard against methods that use the PhoneAccount object pre-MSIM." ↵Nancy Chen
into ub-contactsdialer-b-dev
2015-12-10Fix potential NPE in DefaultVoicemailNotifierYorke Lee
am: 52cd5fd66d * commit '52cd5fd66d0b97e066f89281eb55016dedfeec3a': Fix potential NPE in DefaultVoicemailNotifier
2015-12-10Fix potential NPE in DefaultVoicemailNotifierYorke Lee
Don't try to format an empty number Bug: 26095129 Change-Id: I6356c24e03066babd22217b24004f9ae9a53a67b
2015-12-10Fix potential NPE in VoicemailPlaybackPresenterYorke Lee
Bug: 26092525 Change-Id: Id3e54a197ed8bfb51b9b01bbc98a4ee81b28d9ee
2015-12-09Guard against methods that use the PhoneAccount object pre-MSIM.Nancy Chen
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
2015-12-08Fix NPE in matchesNumberJay Shrauner
Check for null phoneNumber Bug:25973238 Change-Id: I019bf4be0598896a8f4a93f5331d98f78f98b786
2015-12-08Merge "Use ContactsUtil.FLAG_N_FEATURE in ContactInfoHelper" into ↵Victor Chang
ub-contactsdialer-b-dev
2015-12-07Merge "Creating Compatibility class for CallAudioState" into ↵Brandon Maxwell
ub-contactsdialer-b-dev
2015-12-07Creating Compatibility class for CallAudioStateBrandon Maxwell
Bug: 25776171 Change-Id: Ia72b3d4a30783592f8894e0eaa890be7c60743ea
2015-12-07Changing BlockedNumbersAdapter to use Management container as parentBrandon Maxwell
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
2015-12-07Use ContactsUtil.FLAG_N_FEATURE in ContactInfoHelperVictor Chang
BUG=25899500 Change-Id: Ie235822462e2a430b1bec93923bd8c1fe00f101f
2015-12-07Merge "Allow non-primary users to configure calling accounts" into ↵Tony Mak
ub-contactsdialer-b-dev
2015-12-04Merge "Using Compat code for createTtsSpannable" into ub-contactsdialer-b-devBrandon Maxwell
2015-12-04Using Compat code for createTtsSpannableBrandon Maxwell
Bug:25776171 Change-Id: Id6cccaa6af10e91defa70b1c4759cd3b48494e7c
2015-12-04Merge "Show Enterprise directory contacts name in IncallUI and notification" ↵Victor Chang
into ub-contactsdialer-b-dev
2015-12-04Show Enterprise directory contacts name in IncallUI and notificationVictor Chang
known issue:b/25859809 BUG=25899500 Change-Id: Ia61250707981b49efebb6e2c2e4910f58a1233dd
2015-12-04Merge "Adapt TelecomCallLogCache to pre-MSIM." into ub-contactsdialer-b-devNancy Chen
2015-12-04Merge "Fixing where clause issue with call log query" into ↵Brandon Maxwell
ub-contactsdialer-b-dev
2015-12-03Adapt TelecomCallLogCache to pre-MSIM.Nancy Chen
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
2015-12-03Fixing where clause issue with call log queryBrandon Maxwell
Change-Id: Ib4baa544925f8bcc6b8f4df8989927ebb3635ce3
2015-12-02Fixing crash related to typing ADN numbers in DialpadBrandon Maxwell
Bug: 25813349 Change-Id: I3e26ec2edd917df4892d401867acbeb5f97edf64
2015-12-02Allow non-primary users to configure calling accountsTony Mak
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
2015-12-01Guarding use of Voicemails.DELETE to versions >= MBrandon Maxwell
Bug: 25776171 Change-Id: Ib123da80c6f902c81ad09d9b9ca7fb93df057d1a
2015-12-01Compatibility code for Calls.CACHED_PHOTO_URIBrandon Maxwell
Only if the current sdk version is at least M, do we look up the CACHED_PHOTO_URI Bug: 25776171 Change-Id: I79ac81abb4da719ffdb5476476a9a28c287c95f6
2015-12-01Fix NPE in lookupContactFromUriJay Shrauner
Trap NPE thrown by pre-N CP2. Bug:25941069 Change-Id: Id510e84e6e7e4a63a9b3267c183e23b73b0fabbc
2015-12-01Merge "Avoid using prioritized mimetype on pre-M SDKs" into ↵Wenyi Wang
ub-contactsdialer-b-dev