summaryrefslogtreecommitdiffstats
path: root/src/com/android/dialer/calllog
Commit message (Collapse)AuthorAgeFilesLines
* Re-add call recording feature.Danny Baumann2016-02-101-2/+87
| | | | Change-Id: I47e9c49db56c75e5c5f491d2ef923039f7a7f519
* Add back call stats feature.Danny Baumann2016-01-213-6/+162
| | | | Change-Id: If6deee65dc30854f4454a8cdd28fdbf3d529da04
* Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-072-4/+21
|\ | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/Dialer into HEAD Android 6.0.1 release 3
| * Correct issue where content of "All" and "Missed" tabs reversed in RTL.Tyler Gunn2015-10-121-1/+14
| | | | | | | | | | | | | | | | Root cause of issue was that the tab indexes were not reversed in RTL mode. Made a similar change as was made in ListsFragment. Bug: 24690256 Change-Id: Ifa7ae1127298aa098dd8201b4d1e095baa3c14e8
| * DO NOT MERGE Handle null contact lookup.Andrew Lee2015-10-121-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | If we have a null contact lookup, replace the local reference with an EMPTY contact info instance. This fixes a test failure, and possible lookup scenario. Already submitted to master, do not merge. Bug: 24134231 Change-Id: Ia6edd9f601de391257fb805910ef0e42e060c667
* | Dialer: add block caller to call log list itemAltaf-Mahdi2015-11-292-1/+78
| | | | | | | | | | | | | | | | * add and remove number from blacklist * change the text and color if the number is blacklisted * remove the item if blacklist is disabled Change-Id: I2b737a7ebafd2515e5105d806fae9f40000ef40c
* | Specify different colors for answered incoming call and outgoing call icons.chengzhi.hou2015-11-161-2/+2
| | | | | | | | Change-Id: I8776ef3e2e20e66ec9524bf5cee76af5e2d4c2e4
* | Dialer: add blacklist call logging (3/3)Roman Birg2015-11-164-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie569981381d46c8946a603795fe072df106546b0 Signed-off-by: Roman Birg <roman@cyngn.com> Allow blacklisting calls from call log detail menu. Change-Id: Iac19f1327780b844628d196299b68c031ba47df2 Dialer: blacklisted call tweaks * Make icon like the missed call icon, but black. * Also list blacklisted calls in missed calls tab Change-Id: I0b68325b66b12988f24ff9e4b9570e17f40234b7 Signed-off-by: Roman Birg <roman@cyngn.com>
* | Dialer lookup.Xiao-Long Chen2015-11-162-0/+5
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 934fbc79312a7cb0a4bd821d80af3b87f27c5beb Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Sun Feb 23 14:33:41 2014 -0500 New API Change-Id: I0822407bb808382da56146ecf7e52cacb7cb8613 commit 4e81f04c716fead182cb453791d4a77f7eb54a89 Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Sat Feb 15 21:04:15 2014 -0500 My old email is gone Change-Id: Icfeccd195b9fbd269dc3400194dd42f215859049 commit 8a01ae35f9696275f1f156ea0486b1164a8d205e Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Sat Feb 15 15:12:55 2014 -0500 Dialer: Upgrade path for Google reverse lookup Change-Id: I9e02beff958ed529f2520ac7023730392500606a commit c0f2fae26eea774c1a5e5eae7d6ba97be32f16cc Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Sat Feb 15 13:38:56 2014 -0500 [1/2] Remove Google Reverse Lookup: Auth may violate terms of service Change-Id: I2055770a43163cb2020daec6707fd45f0577584b commit 8804367536eb38eb917c61172d9e4b6406b59c44 Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Tue Feb 11 19:11:10 2014 -0500 [2/2] Dialer: Add YellowPages Canada reverse lookup provider Change-Id: I07ca3932d024a5c834c25e23b2e16094ed1f974e commit cdf5c18588b4b0e2ed0f12b5912c7ae90b51120a Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Tue Feb 11 12:27:53 2014 -0500 Nitpicks. Change-Id: If8ce155246beb5395d81db8ab432046181b6d97f commit 79aeb53db82c75adbb90f8f152e5d66d95706314 Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Tue Feb 11 00:20:50 2014 -0500 [2/2] Dialer: Add WhitePages Canada reverse lookup provider Change-Id: Ie4d5302945c39efca9f4b5fbf6dee9a63ec24184 commit c6fe12ffe357f209c2723c2c16aa6b853494a477 Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Mon Feb 10 12:02:59 2014 -0500 Dialer: Use PackageManager to detect of Google Play Services is installed Change-Id: I7b39867c0e8ec79c6c02c731ac27f78663358910 commit 9787c0b312df649840b55fbd35f5a6d87fceb5bb Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Fri Jan 31 22:41:09 2014 -0500 Dialer: Add support for forward and reverse lookups Change-Id: I848db0bbbe6a648064d1eace4993814a16aa9fa0 Change-Id: Iec295b05d72680f770367fcaf1dae9ec68b3d6e9 commit 71b121d082d777e54f7fc02338b609cbfc31ff9c Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Sat Mar 22 15:32:10 2014 -0400 Dialer: Add support for OpenCNAM paid accounts Change-Id: I09c67eed706311a40569617980585a357f1d74aa commit 50cc4c8615d99e92a481981289ff9a7ec83b4c04 Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org> Date: Mon Jun 2 13:31:15 2014 -0700 ReverseLookup: Don't return OpenCNAM errors as caller IDs Skip the API entirely for non-US numbers, and ignore any non-200 bodies to avoid names of the "Limit Exceeded" variety PS2: Use constant from HttpStatus and don't check for null on normalizedNumber Change-Id: I1ea107ba828e6dba44fa0828ad5fedecb8faf4de commit 7fde43587525973b2172123c8696d06f2fd67e37 Author: Dan Pasanen <dan.pasanen@gmail.com> Date: Mon Jun 2 17:08:18 2014 -0500 OpenCnameReverseLookup: fix import class Change-Id: Ib10877aecbdc1e07f8912e1ce35df6e8a112f131 commit 6605b6292df97b66785a06927d7bcd28c217d121 Author: Adnan <adnan@cyngn.com> Date: Tue Jun 10 19:02:33 2014 -0700 Chinese Location Lookup [1/2] Dialer: Chinese Reverse Lookup PS6: Add static integers for reference Change-Id: I22ede59cfa8785ac04ad1b1f19d1c69e24b9fb89 commit cff06b01e0a4c4487d69be7f21de1ddb7f663f38 Author: Danny Baumann <dannybaumann@web.de> Date: Wed Aug 27 09:04:14 2014 +0200 Add reverse lookup provider "Das Telefonbuch" (DE). Change-Id: I0ad72bb3e57da3d27fb1c50c58c112234c39b585 commit 887609d1f6d00d883783e9d03bf16b24e716e234 Author: Danny Baumann <dannybaumann@web.de> Date: Wed Sep 3 09:09:19 2014 +0200 Refine regexes for Das Telefonbuch. Looks like private and business numbers have a slightly differing format. Change-Id: I7eae982fe81cf890686f49b88417e604ba0171a0 commit e64d747e3ae87cc6ddf83b96882e7bcad6ebcd31 Author: Danny Baumann <dannybaumann@web.de> Date: Thu Oct 2 12:55:23 2014 +0200 Code cleanup. Avoid repetetive boilerplate code by using helper methods. Change-Id: Id3ce8d07d35d59c08cbc67fa35bbf6daa67c9608 commit c10bafdd9bab3af4e9dca4fae749fd0ab2202acd Author: Adnan <adnan@cyngn.com> Date: Wed Oct 1 17:13:14 2014 -0700 Dialer: Scrub debug logging for identifiable information. Change-Id: I2b45ec7c37a7f69c972feb3dde1eac87306259f6 Change-Id: I4445ac7a3aa7f60a912fe33dde1eac87306259f2 Move lookup settings to dialer app (2/2) Change-Id: I3d4da7cc1db60963b3e47370a36a6e839ec112d6 Make reverse lookup implement the phone number lookup interface (1/2) Change-Id: I35195d6c5a89cf22ac0f31d48e2ef89102a453c1 Add missing entry for 'Das Telefonbuch' reverse lookup. Change-Id: I4ab793d38ff9d9cf0d43130f31bff03f81b0b7b3 Added Reverse Lookup Gebeld (NL) Change-Id: Icc69b9aac2f50f54ab2a97365297620ccd547177
* Add "Call with a note" action.Tyler Gunn2015-08-055-24/+84
| | | | | | | | | | | - Adding call with a note action to the call log. Capability lookup is cached. - Moved getLookupKeyFromUri to ContactsCommon. - Added some extra required values in CallLogListItemViewHolder so that the call subject dialog is able to build the correct contact photo. Bug: 22685114 Change-Id: I6665c55137eef7db3ff7ac12d70d823937e8c28b
* Merge "Don't update call log in CallerInfoQueryThread without permission" ↵Yorke Lee2015-07-291-0/+4
|\ | | | | | | into mnc-dev
| * Don't update call log in CallerInfoQueryThread without permissionYorke Lee2015-07-281-0/+4
| | | | | | | | | | Bug: 22801077 Change-Id: I16c9c574597564c9f84bbcc00211e097538529de
* | Start contact info cache query thread in onResumeYorke Lee2015-07-282-0/+7
|/ | | | | | Bug: 22783484 Change-Id: If7881ad6a18eafe0b2ea8411b8472ba444320991
* Remove onPreDrawListener logicYorke Lee2015-07-271-32/+1
| | | | | | | | | | | | | | | | | | A bug in the PreDrawListener code was causing it to not be removed from the ViewTreeObserver. This means that everytime a view was rebound, another onPreDraw listener callback would be added but never removed. Compounding the problem is that in each callback, a costly permission check via IPC is done, causing each frame to slow down increasingly as more views are bound. In practice, these PreDrawListeners are no longer needed as they were only used to prime the Contact info query thread, which happens via other code paths anyway. Bug: 22759147 Change-Id: Ica2a31c0849c2eb34ac6f77d49cf23cbe32c6941
* Merge "Reset voicemail playback when call log is paused." into mnc-devNancy Chen2015-07-211-1/+1
|\
| * Reset voicemail playback when call log is paused.Nancy Chen2015-07-171-1/+1
| | | | | | | | | | | | | | | | | | If the user navigates away from the call log, reset the currently playing voicemail playback. Which includes resetting the start point, pausing playback, and refreshing the play icon. Bug: 22530093 Change-Id: I78eda2d86cf0f5b24136a7a9ba299214f155672b
* | Don't auto expand next voicemail after deletingYorke Lee2015-07-201-1/+12
| | | | | | | | | | | | | | | | | | Pipe onVoicemailDeleted notification through to CallLogAdapter. Reset expanded position when that happens. Bug: 22534894 Change-Id: Iec69082bd8b3259f500b523da6d0710bece69fa4
* | Merge "Add permission prompts for contacts and dialpad search" into mnc-devYorke Lee2015-07-171-1/+1
|\ \
| * | Add permission prompts for contacts and dialpad searchYorke Lee2015-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the following fragments to handle denied permissions -Contacts Search (Contacts and Location) -Dialpad Search (Phone) Tweak and remove some of the onTouch listener logic as they are no longer valid with the new UI. Instead of intercepting the touches when the query is empty and returning to the main dialer activity, allow the fragments to remain on screen if the permission request UI is showing. Modify signature of onEmptyViewActionButtonClicked to remove unused permissions parameter. Bug: 22174668 Change-Id: I96d00f2ab45df936dca602ac025f723638ac02c4
* | | Catch CP2 exception in DefaultVoicemailNotifierYorke Lee2015-07-161-0/+6
|/ / | | | | | | | | Bug: 22531073 Change-Id: I09f0b6d94de89ac9236308cec07b12fb8131bc19
* / Update Dialer UI to prompt for permissionsYorke Lee2015-07-151-11/+84
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First pass at adding functionality to Dialer to prompt for permissions. Also updates the UI for various fragments when there are no contacts/calls available to unify the UI with the new UI for the permissions denied state. * Refactor existing empty view functionality and encapsulate into a new custom view class * Add action buttons to existing empty views in various fragments -> Speed Dial (Add to favorites) - scrolls to all contacts fragment -> Recents (Make a call) - shows dialpad -> All contacts (Add a contact) - Launches add contact dialog * Add functionality to various fragments to detect if permissions are denied, and request the permission when the action button is pressed. -> Speed Dial (request for contacts permission) -> Call Log (request for phone permission) -> All contacts (request for contacts permission) * Remove now unneeded EmptyContactsListAdapter Remaining issues (to be addressed in a follow up CL to avoid bloating this CL): UI alignment tweaks for empty view to match mocks If the read contacts permission is requested from the speed dial screen, the all contacts fragment doesn't update with the list of contacts until restarted. Bug: 22174668 Change-Id: I70721914bb9b32910d746de288ccac049749e42e
* Merge "Don't cache results of permission check" into mnc-devYorke Lee2015-07-141-1/+0
|\
| * Don't cache results of permission checkYorke Lee2015-07-131-1/+0
| | | | | | | | | | | | | | | | For maximum safety, always check the current permission status on the fly. Bug: 22455059 Change-Id: I05da7ec1ad2e885e3e5e78e14585c876ac19178e
* | Fix SecurityException in DefaultVoicemailNotifierYorke Lee2015-07-132-9/+27
|/ | | | | | | | | | | Protect querying of ContentResolvers with the relevant permission checks. Check the correct permission in onHandleIntent of CallLogNotificationsService. Bug: 22436465 Change-Id: I7fed82545b10921c1a935f903a466d8894d7b7f1
* Merge "Don't auto-expand first call log entry" into mnc-devYorke Lee2015-07-071-22/+1
|\
| * Don't auto-expand first call log entryYorke Lee2015-07-071-22/+1
| | | | | | | | | | Bug: 22278550 Change-Id: I756703c9441801c623b9dbcbe0d96803de2a3063
* | Go to recents tab instead of CallLogActivity for call views.Nancy Chen2015-07-071-14/+0
| | | | | | | | | | | | | | | | | | Use the DialtactsActivity instead of CallLogActivity when accepting ACTION_VIEW intents for the "calls" mime type. Also remove an unused method in CallLogFragment. Bug: 22266705 Change-Id: I1bf089901b1a5f9534c9f7a8484c12e535a87749
* | Merge "Restore Dialer content after permissions granted" into mnc-devYorke Lee2015-07-011-0/+2
|\ \ | |/ |/|
| * Restore Dialer content after permissions grantedYorke Lee2015-07-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | First pass at making Dialer display the call log, favorites, all contacts, and contact search after permissions are granted withut having to restart the app. Update cached permission status in onResume for Dialer activities Update SpeedDialFragment to correctly initialize loader in onResume if it was null previously because of revoked permission. Bug: 22205650 Change-Id: I68982e69395bc9c7da84ff3221cd12b8f79005f9
* | Don't auto-expand first voicemail cardYorke Lee2015-07-011-5/+10
|/ | | | | Bug: 22127956 Change-Id: Ia1a62e799bf7b535da2390bc0e8fa62201b8a684
* Add long press actions to call logYorke Lee2015-06-291-1/+72
| | | | | | | | | | | | When a call log entry is long pressed, show a context menu that provides the following actions: 1) Copy to clipboard 2) Edit number before call Bug: 21453814 Change-Id: I796cffbec39847fd9c61891063217b15cb298479
* Merge "Remove voicemail tab in call history" into mnc-devYorke Lee2015-06-291-84/+7
|\
| * Remove voicemail tab in call historyYorke Lee2015-06-291-84/+7
| | | | | | | | | | Bug: 22169419 Change-Id: I512153e31a13df5f36bcb8dc00d53d55ba70117c
* | Cache repeated Telecom requests from call log.Andrew Lee2015-06-2610-175/+511
|/ | | | | | | | | | | | | This improves call log scrolling performance. + Split "Wrapper" into a utility and a cache. + Use cache for repeated calls related to call logs. + In the process of fixing plumbing and typer, moved some phone call detail classes into the more appropriate call log package. + Update tests. Bug: 20524705 Change-Id: Ib8ee21e417c19f98f6474a5793416e8f99103b55
* Merge "Expand the first call log item for new cursors." into mnc-devAndrew Lee2015-06-241-2/+19
|\
| * Expand the first call log item for new cursors.Andrew Lee2015-06-231-2/+19
| | | | | | | | | | | | | | | | This increases discoverability of the expand actions, and also makes it quicker to interact with the most recent items. Bug: 21960523 Change-Id: I6aefdd5b96a86177b26ecc59879d1a787115221a
* | Merge "Show transcriptions in voicemail notifications." into mnc-devAndrew Lee2015-06-241-7/+32
|\ \
| * | Show transcriptions in voicemail notifications.Andrew Lee2015-06-231-7/+32
| |/ | | | | | | | | | | | | | | | | + Get transcript when obtaining information for notification. + If there is only one voicemail, show the transcription in the expanded/long text of the notification. Bug: 21762588 Change-Id: I35958f863d6622147032561121073960a30a6f0e
* | Merge "Add a promo card for visual voicemail." into mnc-devNancy Chen2015-06-242-8/+209
|\ \
| * | Add a promo card for visual voicemail.Nancy Chen2015-06-232-8/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The promo card explains what visual voicemail is, along with a link to settings to disable it and an ok button to dismiss it. Also move common resources from GoogleDialer to the respective resource files. Bug: 21086059 Change-Id: Iecfe778b815fb572667d0cecdb958205ec1b48a0
* | | Merge "Add extra to jump to DialtactsActivity tab." into mnc-devAndrew Lee2015-06-241-4/+6
|\ \ \ | |/ / |/| |
| * | Add extra to jump to DialtactsActivity tab.Andrew Lee2015-06-231-4/+6
| |/ | | | | | | | | | | | | | | | | + For the voicemail notification, jump to voicemail tab. + Jump through some hoops to handle this properly when waiting for the voicemail status to be retrieved. Bug: 21120186 Change-Id: I5a82f3ecafadb45246e6637e8275a09f78cc188a
* | Merge "Rewrite of MediaPlayer logic." into mnc-devAndrew Lee2015-06-202-8/+21
|\ \
| * | Rewrite of MediaPlayer logic.Andrew Lee2015-06-192-8/+21
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Control MediaPlayer instance more tightly. Wait until prepareContent to initialize instance. Release MediaPlayer when it is no longer needed. + Instead of using isFinishing, check explicitly for orientation change to know whether to release MediaPlayer. + Change Presenter to singleton, to address audio change wonkiness. + Only create a Presenter if the call log fragment shows voicemail. + ... fixing a variety of cases. - Temporarily disable proximity sensor until blocking issue is fixed. Bug: 21856243 Change-Id: Ic06e98bb5278467c3cce726a06b6cf3d855861a2
* / Visual indicator that voicemail is unread.Nancy Chen2015-06-191-1/+4
|/ | | | | | | | Bold the text for unread voicemail messages. Bug: 21086059 Change-Id: Ieb07c7fa22a91669faeb425dabb60b1176ec1091
* Pass activity into VoicemailPlaybackPresenter.Andrew Lee2015-06-181-1/+0
| | | | | | | | We will use it to set windows flags to help make playback behaviors reasonable. Bug: 21856243 Change-Id: I7c1ecb9e225a507ea8956ccc31d667361a4b6824
* Add play voicemail primary action to call log.Andrew Lee2015-06-152-11/+40
| | | | | | | | | | | | | | | | | | | + Add voicemail primary action button, which expands the call log and plays immediately when clicked. + Pass expand/collapse listener into the view holder. This is necessary because it needs to be triggered when the "play" primary action is clicked so that the CallLogAdapter correctly registers what has been added and binded. + Update primary action button state when showing or hiding actions, so the visibility of the voicemail play button is managed properly. + Ensure voicemail playback state is consistent between multiple call log items when the user initiates a collapse or expand. Add reset function to help manage this. + With the reset, protect against the possibility of functions in the presenter being called when no voicemail playback view is set. Bug: 21654755 Change-Id: I7bcf67d27fa08fe77d1334dc084b52effe8d3ccc
* Merge "Fix abundance of "Custom" labels." into mnc-devAndrew Lee2015-06-151-2/+0
|\
| * Fix abundance of "Custom" labels.Andrew Lee2015-06-151-2/+0
| | | | | | | | | | | | | | | | | | | | | | Not sure precisely why this changed, but hopefully this logic is more robust. Show the geocoded location if there is no name to use and a location is available. Removed GEOCODE_AS_LABEL, which wasn't really used anymore. Bug: 21814339 Change-Id: I1343282ef415647853d7995d900a3f50186ad156
* | Merge "Convert to primary action button on call log items." into mnc-devAndrew Lee2015-06-152-66/+67
|\ \ | |/ |/|