summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/service
AgeCommit message (Collapse)Author
2017-03-01Update dialer sources.Eric Erfanian
Test: Built package and system image. This change clobbers the old source, and is an export from an internal Google repository. The internal repository was forked form Android in March, and this change includes modifications since then, to near the v8 release. Since the fork, we've moved code from monolithic to independent modules. In addition, we've switched to Blaze/Bazel as the build sysetm. This export, however, still uses make. New dependencies have been added: - Dagger - Auto-Value - Glide - Libshortcutbadger Going forward, development will still be in Google3, and the Gerrit release will become an automated export, with the next drop happening in ~ two weeks. Android.mk includes local modifications from ToT. Abridged changelog: Bug fixes ● Not able to mute, add a call when using Phone app in multiwindow mode ● Double tap on keypad triggering multiple key and tones ● Reported spam numbers not showing as spam in the call log ● Crash when user tries to block number while Phone app is not set as default ● Crash when user picks a number from search auto-complete list Visual Voicemail (VVM) improvements ● Share Voicemail audio via standard exporting mechanisms that support file attachment (email, MMS, etc.) ● Make phone number, email and web sites in VVM transcript clickable ● Set PIN before declining VVM Terms of Service {Carrier} ● Set client type for outbound visual voicemail SMS {Carrier} New incoming call and incall UI on older devices (Android M) ● Updated Phone app icon ● New incall UI (large buttons, button labels) ● New and animated Answer/Reject gestures Accessibility ● Add custom answer/decline call buttons on answer screen for touch exploration accessibility services ● Increase size of touch target ● Add verbal feedback when a Voicemail fails to load ● Fix pressing of Phone buttons while in a phone call using Switch Access ● Fix selecting and opening contacts in talkback mode ● Split focus for ‘Learn More’ link in caller id & spam to help distinguish similar text Other ● Backup & Restore for App Preferences ● Prompt user to enable Wi-Fi calling if the call ends due to out of service and Wi-Fi is connected ● Rename “Dialpad” to “Keypad” ● Show "Private number" for restricted calls ● Delete unused items (vcard, add contact, call history) from Phone menu Change-Id: I2a7e53532a24c21bf308bf0a6d178d7ddbca4958
2016-04-15Update ExtendedCallInfoService reporting methods to accept location.Sarmad Hashmi
+Add IntDef which contains all the possible locations numbers can be reported as spam or not spam from. +Updated method calls to include location BUG=27323295 Change-Id: I549e439af328447fbbf0c61116cdff9b1b877334
2016-04-07Remove deprecated ExtendedBlockingButtonRenderer.Qi Wang
* All funtion in ExtendedBlockingButtonRenderer has been migrated into CallLogAdapter and CallLogListItemViewHolder. Bug: 27655063 Change-Id: I74bf2a2b3207ea3ee07b557bce97a4ae70ea0cbf
2016-04-06Add dialogs for spam report and block.Qi Wang
Screenshots: 1. block/report spam https://screenshot.googleplex.com/5e772Kikikw 2. block https://screenshot.googleplex.com/AEpYSYoL2E8 3. unblock(is spam and report not a spam) https://screenshot.googleplex.com/AEZfhCXj4h8 4. unblock(not spam) https://screenshot.googleplex.com/r7YkHuCMT1p 5. report not spam https://screenshot.googleplex.com/jkcpm0pdKoj Change-Id: I78fbbacece44632614026c03909289995bef5b14 Fix: 27295785
2016-04-04Add callType to button renderer for spam reporting.Sarmad Hashmi
+Pass callType to ExtendedBlockingButtonRenderer so that when the user reports a number as spam or not spam, the type of call (missed, voicemail, etc.) is passed to the clearcut log BUG=27323803 Change-Id: I5d3493d3d4212affc3e64e0f499143085baf0ec5
2016-04-04Integrate spam feature into call logs.Qi Wang
+ Add block and report spam actions. + Show spam icon and label for call log item. + Add stableIds for CallLogAdapter to improve performance(reuse same viewItem to minimize update work). * Fix funky UI of call log. Change-Id: I6144d70b6a8e38061e1447d0d01910d53026d1db Fix: 27295728 Fix: 26907466
2016-03-28Add spam indicator for notification and incoming call of incallui.Qi Wang
+ Add spam icon and label in notification of incoming call. + Add spam icon and label in primary call info of incall screen. + Change background color and status bar color if primary caller is spam. Screenshots: https://screenshot.googleplex.com/WFob2oPdXZd https://screenshot.googleplex.com/ddCfg91Anef Bug: 27611253 Change-Id: I03b3754f69631f5f6b07932b1a0006407b93c6e8
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-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-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-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-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
2015-05-11Save CNAP in call historyYorke Lee
If the call contains necessary CNAP information, try to save it into the CachedNumberLookupService. Move the various source type constants into AOSP dialer. Bug: 10121624 Change-Id: Ic1911b8ef5556dca2a9855992f1857da5edbf6ed
2014-10-01Fix HTTP request to a report bad caller ID entry in the call log (1/2)Anthony Lee
A few things needed to change to fix this bug. 1. Add object ID to ContactInfo and make sure that it is persisted 2. Adding a new row means migration from older versions of DBs 3. Fix logic that determines if we can report a given call log entry since the strategy of using isExternal() is not valid. UI impact. 4. Fix the HTTP request that is generated to include a valid object ID intead of using the source ID. Bug: 17692726 Change-Id: If541fea963837118b7466b6c59f453103cdbdc4a
2014-07-14DO NOT MERGE Added report button to UI and database.Sai Cheemalapati
It toasts when clicked for now. The database is not updated when it is clicked yet. Bug: 11150383 Change-Id: Ifd588bdfb36dd8a96977a870071a064726f6e669 (cherry picked from commit 3eae4825ee9a29bd43c9b01d3cbf92de6ad3eb11)
2014-02-28Use new ContactPhotoManager APIs for letter tile avatarsYorke Lee
*Modify the following uses of ContactPhotoManager.loadPhoto in the following classes to include a DefaultImageRequest, populated with the contact's display name, lookupkey, and contact type as necessary CallDetailActivity CallLogAdapter PhoneFavoriteTileView *Add utility methods to ContactInfoHelper, to parse a lookupUri for a lookup key, as well as determine whether or not a contact is a business contact, from its sourceType field. *Add a sourceType field to PhoneCallDetails which can be used to track whether or not PhoneCallDetails belongs to a business contact *Add a lookupKey field to ContactInfo Bug: 13101785 Change-Id: If339a9c038f92a0212f8f8b45b5e3cc5f6442562
2013-10-07Clear phone number cache when call log is clearedYorke Lee
Bug: 11027471 Change-Id: I8437073e1d01e5223e89fce78795d5274db97c8e
2013-09-28Change cached info to interfaceJay Shrauner
Change AOSP cache API to interface and move DB data types to GoogleDialer Bug:10980951 Change-Id: I37eb07f672458ab4d8789ecc4e9f2f60745de862
2013-09-14Add addPhoto APIJay Shrauner
Add addPhoto API for saving images to the cache. Bug:10760102 Change-Id: If0163aaf677bebd25843f78279029c0635b235b6
2013-09-08Add directory source name to cacheJay Shrauner
Add directory source name and id for extended directories. Bug:10609551 Change-Id: I6ef7e320dde8e706233ab32afeff15ba1a7666bb
2013-09-03Add contacts to the cache when dialedJay Shrauner
Add GAL or local search contacts to the cache when dialed. Bug: 10609551 Change-Id: I787e0f2e1fe458a7f5518241823493333d9ade7c
2013-08-28Use contacts cache in call log adapterYorke Lee
Bug: 10490038 Change-Id: I4c7fc5094f76dfaaa321bc69d595f37bb72f87ad