summaryrefslogtreecommitdiff
path: root/src/com
AgeCommit message (Collapse)Author
2016-03-18Merge "Rename provider authority for AOSP Dialer" into nyc-dev am: f804a91Ta-wei Yen
am: c0b805e * commit 'c0b805e68c960ff7af4a25dff8b95eb2c620f22f': Rename provider authority for AOSP Dialer
2016-03-18Merge "Rename provider authority for AOSP Dialer" into nyc-devTa-wei Yen
am: f804a91 * commit 'f804a91865c7916369e1ab119dfb13d35ca5f033': Rename provider authority for AOSP Dialer
2016-03-18Merge "Rename provider authority for AOSP Dialer" into nyc-devTa-wei Yen
2016-03-18Merge "Fix dialer crash on unknown number call." into nyc-dev am: 5da20d4Sarmad Hashmi
am: 74a4339 * commit '74a4339953bf2a41a4cd1e73a88b0edfafa50585': Fix dialer crash on unknown number call.
2016-03-18Merge "Fix dialer crash on unknown number call." into nyc-devSarmad Hashmi
am: 5da20d4 * commit '5da20d4e84c475aadfed3cfc3e4ea06d4400091c': Fix dialer crash on unknown number call.
2016-03-18Fix dialer crash on unknown number call.Sarmad Hashmi
+Number is set to empty string if null +Added 11 tests for getContactInfo method, mainly testing various combinations of inputs BUG=27725458 BUG=27724999 Change-Id: Ic64fbdb7490a3c07145310cf02249555bfc963a3
2016-03-17Merge "Return null constructing a malformed PhoneAccountHandle" into nyc-dev ↵Brad Ebinger
am: ef2fdd5 am: ad6fbc0 * commit 'ad6fbc0f594341d23f33ccf73c765e9b2dc9adab': Return null constructing a malformed PhoneAccountHandle
2016-03-17Merge "Return null constructing a malformed PhoneAccountHandle" into nyc-devBrad Ebinger
am: ef2fdd5 * commit 'ef2fdd5cd215e8e0ff974843ccdddad962dd54db': Return null constructing a malformed PhoneAccountHandle
2016-03-17Merge "Return null constructing a malformed PhoneAccountHandle" into nyc-devBrad Ebinger
2016-03-17Return null constructing a malformed PhoneAccountHandleBrad Ebinger
Return null when constructing a PhoneAccountHandle if the ComponentName from the database is malformed. Bug: 26684527 Change-Id: I76a3e61699e0646cdf0b715d7b3908611cdca8ff
2016-03-17Prevent incorrect call log item from expanding when new item arrives am: fa15094Ta-wei Yen
am: ad39eb2 * commit 'ad39eb2ab71faf5c1750595e4fd8adcf898113f1': Prevent incorrect call log item from expanding when new item arrives
2016-03-17Prevent incorrect call log item from expanding when new item arrivesTa-wei Yen
am: fa15094 * commit 'fa15094f656599b24e1c2a5d59ca1d8c0e515d10': Prevent incorrect call log item from expanding when new item arrives
2016-03-17Merge "Add missing lock discovered by GuardedBy checker." am: a2ee440Ian Rogers
am: 400229b * commit '400229b44ff91b95e03732be350bf6ca63f6720d': Add missing lock discovered by GuardedBy checker.
2016-03-17Merge "Add missing lock discovered by GuardedBy checker."Ian Rogers
am: a2ee440 * commit 'a2ee44082c21014d3be1163ca362a556b5db30cc': Add missing lock discovered by GuardedBy checker.
2016-03-16Rename provider authority for AOSP DialerTa-wei Yen
Authority name clash is preventing GoogleDialer from installing over AOSP dialer Authority for FileProvider is put in donottranslate_config.xml because it need to be shared with ContactsCommon Bug:27685485 Change-Id: I45a51639a85a00f58385e08221cb100ac66c2069
2016-03-16Add missing lock discovered by GuardedBy checker.Ian Rogers
Found by error prone. Change-Id: I8923c4e7095e644b8e09841ebda1911e6589b4e0
2016-03-16Prevent incorrect call log item from expanding when new item arrivesTa-wei Yen
mCurrentlyExpandedPosition is unreliable when the list is changing, use mCurrentlyExpandedRowId to determine which item is expanded instead. Positions stored in CallLogAdaptor are also invalidated when the list is changing. Bug:25283769 Change-Id: Iffca8c7d65933cfcdd12f2f3cc85170226db1c4a
2016-03-16Merge "Add default phone account fallback for voicemail notification" into ↵Ta-wei Yen
nyc-dev am: fb29931 am: c1f6650 * commit 'c1f6650d632e7aba3d9ec5a2ca28cf4c25a929f9': Add default phone account fallback for voicemail notification
2016-03-16Merge "Add default phone account fallback for voicemail notification" into ↵Ta-wei Yen
nyc-dev
2016-03-16Merge "Enabling new filtering" into nyc-dev am: 719cb38590Brandon Maxwell
am: bb35e0b049 * commit 'bb35e0b049cdfe350f6a00ffb4e6497fb19abeaa': Enabling new filtering
2016-03-16Merge "Enabling new filtering" into nyc-devBrandon Maxwell
2016-03-15Enabling new filteringBrandon Maxwell
Bug: 26664600 Change-Id: I27d87006bf153ca57b6acc5b7177aea69e161439
2016-03-16Adding logging for migrate blocked numbers am: bc8be0abe7Brandon Maxwell
am: df7f4a9080 * commit 'df7f4a908025c9c034566c9246cfed53c3c11820': Adding logging for migrate blocked numbers
2016-03-15Add default phone account fallback for voicemail notificationTa-wei Yen
Sometimes the accountComponentName and accountId field of the new voicemail will not be populated by the voicemail source, so a PhoneAccountHandle used to retrieve the voicemail ringtone can not be created. Previously we fallback to the default notification sound. In this CL we will attempt to get the voicemail ringtone from the default phone account before falling back to notification sound. Bug:21699149 Change-Id: Ia1c09f5aa32c000cca245c669304cacf4f792c01
2016-03-16Updating GreatWall to use modifiable flag am: 22375e147eBrandon Maxwell
am: e1473ca3ca * commit 'e1473ca3cafa69f9c51031a9cfeb1aebb6821d2c': Updating GreatWall to use modifiable flag
2016-03-15Adding logging for migrate blocked numbersBrandon Maxwell
Bug: 26664600 Change-Id: I64e9d1fbd825f25e23124d95b2475fdd6e0830f9
2016-03-15Updating GreatWall to use modifiable flagBrandon Maxwell
+ Rather than using a runtime flag which has to be set for the build, this CL changes the GreatWall feature to be enableable at runtime. Bug: 26664600 Change-Id: Ib0e3229da41a08c67076b7bd171ebbc4b35a4c69
2016-03-15Merge "Keeping migration dialog up while migration in progress" into nyc-dev ↵Brandon Maxwell
am: a98b35c260 am: 724ee71dbb * commit '724ee71dbb1e7b1fcb8cd332663772c215eb7e63': Keeping migration dialog up while migration in progress
2016-03-15Merge "Keeping migration dialog up while migration in progress" into nyc-devBrandon Maxwell
2016-03-15Keeping migration dialog up while migration in progressBrandon Maxwell
+ This CL ensures that while the migration work is in progress, the MigrateDialogFragment remains visible, with its buttons greyed out. Bug: 26664600 Change-Id: Ied32d05fac46b700f14aee06d383fd2db2fa7913
2016-03-15Updating settings to use system blocked numbers ui am: 60d449f45fBrandon Maxwell
am: 24fdf0da09 * commit '24fdf0da0966a7a4108db7fc7e23f6c5a3b651a3': Updating settings to use system blocked numbers ui
2016-03-15Updating settings to use system blocked numbers uiBrandon Maxwell
+ After the user has migrated to the framework number blocking solution, the 'Call blocking' setting needs to take them to the system ui. The branching logic to determine which UI to open is added in this CL. Bug: 26664600 Change-Id: I2574f0665d3f0d3d92230e0210c69d1d10b60228
2016-03-15Fixing buildSarmad Hashmi
+ A merge was performed improperly which caused an import to be removed, but the code using the imported object wasn't. This resulted in build failures since the necessary class wasn't imported. + This change properly performs the merge of cdc14da9275c67d123b55e668f48f73c4b58d948. Change-Id: Ifb78cc75aff18a9c632c7c5e1a3121858383296a
2016-03-15Merge "Removing hardcoded database column name" into nyc-dev am: aae1559613Brandon Maxwell
am: 3cd1ce6c88 * commit '3cd1ce6c8801c338f45dad8688e2f742f910382d': Removing hardcoded database column name
2016-03-15Merge "Removing hardcoded database column name" into nyc-devBrandon Maxwell
2016-03-15Merge "Implemented blocked numbers migration" into nyc-dev am: 4cdae0926cBrandon Maxwell
am: 55c2efe5a5 * commit '55c2efe5a514447c697a678c52708b8eb7fc5406': Implemented blocked numbers migration
2016-03-15Merge "Implemented blocked numbers migration" into nyc-devBrandon Maxwell
2016-03-14Implemented blocked numbers migrationBrandon Maxwell
+ After upgrading to N, users need to be able to migrate their blocked number list from the Dialer solution to the framework solution. Prior to migrating, when a user attempts to block a number, a Dialog is shown prompting them to migrate their numbers. Users must migrate to continue adding numbers to their block list. Users that decide not to migrate will still have calls and voicemails blocked for numbers that are currently on their block list. + This CL implements the logic which copies users' blocked numbers lists to the framework solution. Bug: 26664600 Change-Id: I44dee1306b5daca6f558c81b2b58252b35013e09
2016-03-14Merge "Potential fix for voicemail icon near dialer but no voicemail." into ↵Sarmad Hashmi
nyc-dev am: 1034966af6 am: 290a699617 * commit '290a699617772faab8cc0c48f322b52ad954462b': Potential fix for voicemail icon near dialer but no voicemail.
2016-03-14Merge "Potential fix for voicemail icon near dialer but no voicemail." into ↵Sarmad Hashmi
nyc-dev
2016-03-14Potential fix for voicemail icon near dialer but no voicemail.Sarmad Hashmi
+Only count voicemails that are unread and have not been marked for deletion. BUG=27548694 Change-Id: I8d6707087bd4a400eb073ac4c2c7e2689a065052
2016-03-14Adding block numbers migration dialog am: c6ed16091cBrandon Maxwell
am: fbbc38a5bb * commit 'fbbc38a5bb9aac10906c901987352ef2d7c74bf4': Adding block numbers migration dialog
2016-03-14Adding block numbers migration dialogBrandon Maxwell
+ When the user attempts to block a number and they haven't migrated to the framework blocking implementation, they should be shown a dialog that asks them to migrate. This CL introduces the Dialog that is shown and updates the Call log and Call details to open it. + As part one of the change, the Dialog is shown every time the user attempts to block or unblock a number (when the feature is enabled). A later CL will complete this migration step to ensure that the dialog is only shown until migration is finished. Bug: 26664600 Change-Id: Ia4c2d504f8d98679b90d232058eb5ee6ea9b38f1
2016-03-14Merge "Adding sharedPref for blocked number migration" into nyc-dev am: ↵Brandon Maxwell
9df658ca49 am: f561b05824 * commit 'f561b058245c3976f6efc9c420c3cc7cef8c358a': Adding sharedPref for blocked number migration
2016-03-14Merge "Hiding add number button in Blocked Management UI" into nyc-dev am: ↵Brandon Maxwell
6c5ea04920 am: 414cf94924 * commit '414cf94924769f8bc4ca72a8d198c7d278b1f958': Hiding add number button in Blocked Management UI
2016-03-14Merge "Add talkback for long press and remove contact from starred list." ↵Qi Wang
into nyc-dev am: 7934175406 am: 470dd5f28d * commit '470dd5f28d6c3c005ab839e5fc238e679865e278': Add talkback for long press and remove contact from starred list.
2016-03-14Merge changes from topic \'refactor-voicemail-archive\' into nyc-dev am: ↵Sarmad Hashmi
f2c14d722f am: 380994d3b0 * commit '380994d3b0e4a2ee2ca0054a48ea159678618521': Add share voicemail functionality. Refactor voicemail archive code.
2016-03-14Merge "Adding sharedPref for blocked number migration" into nyc-devBrandon Maxwell
2016-03-14Merge "Hiding add number button in Blocked Management UI" into nyc-devBrandon Maxwell
2016-03-14Merge "Add talkback for long press and remove contact from starred list." ↵Qi Wang
into nyc-dev
2016-03-13Add share voicemail functionality.Sarmad Hashmi
+Send intent to other applications with temporary file permission granted +Add voicemails folder to FileProvider paths +When creating file in VoicemailArchiveProvider, append extension to file name +Check voicemail content exists before archiving it +Refactor voicemail code +Add tests for checking file extension +Add tests for archiving and sharing vociemails +Archive tab should not archive on share button press BUG=22798485 Change-Id: Id8068aba92f7f1ca58532dca6c405cb2908841a3
2016-03-13Refactor voicemail archive code.Sarmad Hashmi
+Created new class for all AsyncTasks and listener interfaces. +Separated the archive code into separate methods +Added 7 tests BUG=22797391 Change-Id: I789125328bf079846e34c5fd57fd0d1c67dc6266
2016-03-12Adding sharedPref for blocked number migrationBrandon Maxwell
+ Users are shown a dialog when they're running on an SDK which supports the framework blocking solution, but they haven't yet migrated. In order to determine whether the user has migrated or not, a SharedPreference value is used. In a later CL which performs the migration, this value will be updated as the final step. Bug: 26664600 Change-Id: I5a12be643d0fb3b52ef408215779423bf0a2ddc7
2016-03-12Hiding add number button in Blocked Management UIBrandon Maxwell
+ When new filtering is possible, we should hide the add number button from the blocked numbers management UI. + Added method to FilteredNumberCompat to check if it's possible to use the new filtering implementation. This is needed because prior to migrating to new filtering, users need to be able to unblock numbers. Just checking the SDK version is not sufficient, we need to know if the user has migrated their numbers. Bug=26664600 Change-Id: I60433465074911f13a26736221ddacc9a8bbcf88
2016-03-11Merge "Query lookup uri with work lookup key directly is not allowed" into ↵Tony Mak
nyc-dev am: ebfbfa10d9 am: 769f26fe74 * commit '769f26fe7488415cb677d4980540bbd7dcfc3ac0': Query lookup uri with work lookup key directly is not allowed
2016-03-11Add share button to voicemail cards. am: 83f27f563cSarmad Hashmi
am: cf4e907022 * commit 'cf4e90702260cc04c42c202affac7da351454058': Add share button to voicemail cards.
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-11Merge "Query lookup uri with work lookup key directly is not allowed" into ↵Tony Mak
nyc-dev
2016-03-11Add share button to voicemail cards.Sarmad Hashmi
+Add share icon and string +Added share button to voicemail_playback_layout.xml +Link to icon: https://icons.googleplex.com/#icon=ic_share BUG=22798485 Change-Id: Iab9051f4824a4fa0eed90049a762aaac032cf3bf
2016-03-11Add talkback for long press and remove contact from starred list.Qi Wang
The remove button will be announced when user hovers contact onto it or drop it. Bug: 25559343 Change-Id: I31f51f6d074d8b1721439e7a484e1e316cb006fe
2016-03-11Query lookup uri with work lookup key directly is not allowedTony Mak
Query lookup uri with work lookup key directly is not allowed, app crashes if doing so. And actually, all APIs do not support work lookup key except those explicitly say it does. This Cls changed two places: 1. Do not pass lookup uri with work lookup to NotificationManager to avoid NotificationManager using the uri to query. 2. Dialer perform query for alternative display name using lookup key. But if it is a work contact, do not do so. Bug: 27146678 Change-Id: Ie59c37ff43b6f953a96564c446d79d8812f5ada1
2016-03-10Merge "Fixing missed call notifications for FBE" into nyc-dev am: bb293bfd56Brandon Maxwell
am: d34a408c71 * commit 'd34a408c71e8f791f74c5b19e5c8d5cb2a710522': Fixing missed call notifications for FBE
2016-03-10Fixing missed call notifications for FBEBrandon Maxwell
+ Our new components for creating missed call notifications are not marked as encryption aware so Telecom was always creating the missed call notification. + This CL marks the appropriate components as encryption aware so Telecom can check to see if we support putting up the notification. + Updated logic so missed call notifications only have 'callback' and 'message' actions when not locked. + Misc FBE cleanup + Since the call log is not available when on the File based encryption lock screen, dismissed notifications will not attempt to mark the calls as read; attempting do so causes exceptions. + Updated AOSP Dialer to ensure that we don't store data in device encrypted storage by default. This storage location is always available, regardless of whether we're in the FBE locked state or not. None of our preferences/databases need to be available in this state, so this change causes the Dialer to store data in credential encrypted storage by default. This storage location is only available when the device is unlocked. + Updated AOSP Dialer so it doesn't use device encrypted storage by default. This is because we currently don't want any of the preferences/databases stored by the Dialer to be available when FBE locked. + Updated AOSP Dialer so specific components must mark themselves as encryption aware, rather than having everything aware because the application is marked as such. Bug: 27455726 Change-Id: Ib5d28267116ec007bf9beb57862796235460ddf5
2016-03-08Merge "Add contact photo for missed call notifications" into nyc-dev am: ↵Ta-wei Yen
5d635baea2 am: e70be0ca00 * commit 'e70be0ca00a5ed4699f1a91759de2905e8bcefdc': Add contact photo for missed call notifications
2016-03-07Merge "Add contact photo for missed call notifications" into nyc-devTa-wei Yen
2016-03-07Add contact photo for missed call notificationsTa-wei Yen
+ ContactPhotoLoader to create the appropriate icon from a ContactInfo - NameLookupQuery in CallLogNotificationsHelper#getContactInfo To show a photo the name is not enough. Full query need to be made to retrieve the photoUri. + class Assert in util + Gradle directory setup for dialer tests (Note: this is just for project setup in Android Studio, tests are still not runnable in gradle) Bug:27276108 Change-Id: I0ed2147f2bb60454fe5a5ad6c25fe99727441880
2016-03-07Merge "Disable voicemail archive by default." into nyc-dev am: 3696bc443fSarmad Hashmi
am: e924ab425b * commit 'e924ab425ba6e5afc2ae3754fb12317fdb6b2438': Disable voicemail archive by default.
2016-03-04Disable voicemail archive by default.Sarmad Hashmi
+Archive-specific actions are not drawn unless the runtime flag is enabled +Disable archive button and menu item BUG=27375884 Change-Id: Ide7d0a162468279f614e09e01de99d782854a3e1
2016-03-04Merge "Add files for voicemail archive tab." into nyc-dev am: ee8f5a3c0dSarmad Hashmi
am: af04b7b8d5 * commit 'af04b7b8d5bad8998f875ee0a28df36d5b6e97c5': Add files for voicemail archive tab.
2016-03-04Update call log adapter and related files for archived voicemails. am: ↵Sarmad Hashmi
6b0056f348 am: 5054493a46 * commit '5054493a465991ad2b8d4b1d885a66810e08414a': Update call log adapter and related files for archived voicemails.
2016-03-04Merge "Add files for voicemail archive tab." into nyc-devSarmad Hashmi
2016-03-04Update call log adapter and related files for archived voicemails.Sarmad Hashmi
+ Populate CallLogAdapter items with different data depending on whether it is in the voicemail archive activity or not + Added addVoicemailGroups method to CallLogGroupBuilder so that every voicemail is put into an individual group + Voicemails grouped differently than regular calls, so added changeCursorVoicemail in GroupingListAdapter +Fix CallLogAdapter tests and add test for archive adapter BUG=22797391 Change-Id: Ib8387c5b3ab8c5e39876cfaf20fde5a44295f152
2016-03-03Add files for voicemail archive tab.Sarmad Hashmi
+ Added VoicemailArchiveActivity which displays all voicemails archived by the user + VoicemailArchivePlaybackPresenter is the same as VoicemailPlaybackPresenter except that it does not need to request content from the voicemail server +Added tests (combined common methods and attributes for regular voicemail tab and voicemail archive used for tests) BUG=22797391 Change-Id: I4064eea945b9e257ec6c7ada35cf5ac1657dc866
2016-03-03Merge "Update seek position by using volume rocker in talkback mode." into ↵Qi Wang
nyc-dev am: f998add653 am: 279ef2f495 * commit '279ef2f495153e471ff9cded39b1d847b7973b11': Update seek position by using volume rocker in talkback mode.
2016-03-03Merge "Update seek position by using volume rocker in talkback mode." into ↵Qi Wang
nyc-dev
2016-03-03Merge "CallLogListItemViewHolder distinguishes block/spam numbers" into ↵Gilles Franck Mevaa
nyc-dev am: 79e26069d2 am: ee9552eca9 * commit 'ee9552eca9cd2692124f4eb0aea628871992910e': CallLogListItemViewHolder distinguishes block/spam numbers
2016-03-03Merge "Fixing missed call badge query" into nyc-dev am: 81aeb4053aBrandon Maxwell
am: 7210993449 * commit '7210993449b31ee80e56e77bd0acbc1dceea2494': Fixing missed call badge query
2016-03-03Merge "CallLogListItemViewHolder distinguishes block/spam numbers" into nyc-devGilles Franck Mevaa
2016-03-02Update seek position by using volume rocker in talkback mode.Qi Wang
Bug: 25452893 Change-Id: Iae3b0a2c2db4642d7cebc74c3ae47f5ab7ad7bc2
2016-03-02CallLogListItemViewHolder distinguishes block/spam numbersGilles Franck Mevaa
A new method is added to show the appropriate photo and label if the number is either blocked or spam. This occurs after the normal photo and labels are rendered. Because of that, there is a flickering if the photo and labels should be changed. b/27295728 will help track the fix of the flickering bug. Change-Id: I639c0c0d4167b48956892f2b955d4e1f0cc8e8eb
2016-03-02Merge "Fixing missed call badge query" into nyc-devBrandon Maxwell
2016-03-02Fixing missed call badge queryBrandon Maxwell
+ Previously the query for the missed calls only checked if the calllog is_read column was equal to 1. The situation where a callog entry exists because it was copied from another user's calllog (such as for File based encryption), the value of is_read is null rather than 0 or 1. + This CL updates the query to return those calllog entries that have null for is_read too. This logic matches the logic for making a calllog entry bold when it's unread. Bug: 27168340 Change-Id: I73dba6920a3eaf352feae4d23cc3f55d51bd1efd
2016-03-02Merge "Check content before requesting a voicemail audio" into nyc-dev am: ↵Ta-wei Yen
d3c14bd6ae am: 93163d05dc * commit '93163d05dc4d0992b2b7addb715f05624d53ad7e': Check content before requesting a voicemail audio
2016-03-02Merge "Fix voicemail tab showing even after being disabled." into nyc-dev ↵Sarmad Hashmi
am: 24c02ee4ec am: 3208510696 * commit '32085106969a45718b1b432377bbbbf9a92937f2': Fix voicemail tab showing even after being disabled.
2016-03-02Merge "Check content before requesting a voicemail audio" into nyc-devTa-wei Yen
2016-03-02Merge "Fix voicemail tab showing even after being disabled." into nyc-devSarmad Hashmi
2016-03-01Fix voicemail tab showing even after being disabled.Sarmad Hashmi
+Redraw voicemail tab every time notifyDataSetChanged method is called +Remove voicemail fragment once it is disabled BUG=23522864 Change-Id: I9cb1e6a0bbb91c38709a0ac5b8908f4f1252e509
2016-03-02Merge changes from topic \'mockDelete\' into nyc-dev am: 0c00c3ef23Brandon Maxwell
am: 807017f199 * commit '807017f1994cc958ce85d0422de3560a6ba38a1d': Using FilteredNumCompat for unblock Updating AsyncQueryHandler with FilteredNumCompat Implementing Compat class for Filtering
2016-03-01Check content before requesting a voicemail audioTa-wei Yen
Formerly dialer only checks for content when the view is loaded, will only acknowledge the new content status if the fetch succeeded, and will send a intent every time it thinks there is no content. Suppose the server took really long to finish the fetch, but eventually succeeds, it will cause the voicemail fetch to fail every time. After this fix before a fetch intent is sent, content availability will be checked first. The following step is taken to simulate a slow fetching server: 1.disable prefetch in telephony 2.disable the content fetch on dialer load 3.set fetch timeout to 1ms Verified a similar behavior to b/27388041. Voicemail load fails even if the content is already there. This fix was then applied. Voicemail fail for the first time as it should (timeout), but plays normally after the second time. Bug:27412247 Change-Id: I184e04fb88772f9006cf6db0fe50d6e773a45d4a
2016-03-01Using FilteredNumCompat for unblockBrandon Maxwell
+ This CL updates the FilteredNumberAsyncQueryHandler#unblock methods to use the FilteredNumberCompat class to properly choose between the original Dialer blocking implementation and new blocking. Bug=26664600 Change-Id: I528604eeafa4f7fa131cb1898d57a87708ba58b5
2016-03-01Updating AsyncQueryHandler with FilteredNumCompatBrandon Maxwell
+ FilteredNumberAsyncQueryHandler needs to make use of the FilteredNumberCompat class to unsure that it is blocking/unblocking/checking the proper solution, based on which is enabled. + This CL updates the queryHandler to the FilteredNumberCompat class for the hasBlockedNumbers, isBlockedNumber, and blockNumber operations. Bug=26664600 Change-Id: I5ecf6e340a97e94bf696a0e6c4a7e922b791a6f5
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-02-29Allowing FilteredNumberAQHelper to be stubbed am: 6a87f4406aGilles Franck Mevaa
am: c44630349e * commit 'c44630349eb2b17c58da4c96a60c2f9a32d731db': Allowing FilteredNumberAQHelper to be stubbed
2016-02-29Allowing FilteredNumberAQHelper to be stubbedGilles Franck Mevaa
Just by making its apis not 'final'. Change-Id: Ia05b8562fc983da0fdd76b83b5240f30eb2faf7b
2016-02-25Mark missed calls as read on swipe. am: cb55981252Sarmad Hashmi
am: 55b9d729f5 * commit '55b9d729f5a80621449756eced19faf8dde9420c': Mark missed calls as read on swipe.
2016-02-24Mark missed calls as read on swipe.Sarmad Hashmi
When swiping to a new tab, if the previous tab that the user was in was the call history tab, all missed calls are marked as read and the tab count is updated. Also fixes b/27153608 and clearing of missed calls on orientation change. BUG=27136093 BUG=27153608 BUG=27154514 Change-Id: I5be31b1a3978784b941fb8e1af22f93fb6ca944a
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)