summaryrefslogtreecommitdiff
path: root/src-pre-N
AgeCommit message (Collapse)Author
2016-04-06Add via number to CallLog Account entryBrad Ebinger
Call Log now provides the phone number that an incoming call was received on if that number is different than the SIM subscription number. This "via number" is appended to the Phone Account of the Call Log entry in Dialer if it exists. Screenshots: - One PhoneAccount: http://screen/HuCSL0U6jU6.png - Multiple PhoneAccounts: http://screen/pDg8F9zpMei.png Bug: 25594198 Change-Id: I8c05ea98409e54d20493fbdb20096bf851480719
2016-03-18Only allow primary users to block numbersBrandon Maxwell
+ By design, only the primary user has the capability to block numbers. + This CL ensures that secondary users don't see the option to block numbers in the call log or call details. Change-Id: I576925510cfbef417c16910218014d9f7b7dd2a0 Fixes: 27366206
2016-03-11Removing hardcoded database column nameBrandon Maxwell
+ We were previously hardcoding the post_dial_digits column name. This code was written before we had src-N and src-pre-N folders. + This CL converts the hard coded column name to follow the pattern we have for new stuff in the SDK. + Additionally, this CL removes an unneeded method which checks the SDK version, instead using the CompatUtils class. Bug: 25021389 Change-Id: I017d47f7efd323254e616a64d7ac824c5cfb8902
2016-03-01Implementing Compat class for FilteringBrandon Maxwell
+ FilteredNumberCompat contains the logic needed to switch between the Dialer implemented number filtering and the new number filtering. + Direct uses of the Dialer Filtering code should be replaced to use the fields in this class Bug=26664600 Change-Id: I42db3da4b5ed124a88488713f56ccab7b2290309
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-15Revert "Use telephony voicemail notification settings for vvm."Nancy Chen
This reverts commit 201e021fe24e36ae2d94eadd4701933dd099d309. Change-Id: I9b8e9bc74d23cea7c668166d275033c8fddf52cf
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-06Allow google dialer code to be compiled against M and N SDKsTa-wei Yen
+ Class SdkSelectionUtils to provides information of the SDK the app is build against. Specifically, information that change when the TARGET_N_SDK build flag is set in the makefile. This is not related to the targetSdkVersion value in AndroidManifest.xml. Bug:26330692 Change-Id: Ie9e7d734964b5da930d33f69650643bfd2c1e178