summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Dialer lookup.Xiao-Long Chen2015-11-1632-4/+4119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge branch 'LA.BF64.1.2.2_rb4.7' of ↵Steve Kondik2015-11-162-2/+16
|\ | | | | | | | | | | git://codeaurora.org/platform/packages/apps/Dialer into cm-13.0 Change-Id: I7350711cbc7e909f7dae5a23af8ccf84bbb9d77e
| * Merge "IMS: Fix empty URI list dial after add participant."Linux Build Service Account2015-11-041-2/+2
| |\
| | * IMS: Fix empty URI list dial after add participant.Suchand Ghosh2015-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consider add participant when phone is in use and in such case don't allow add participant with empty uri list. If phone is idle then don't treat dial request as add participant. Rather allow dial with empty URI list using conf uri dialer. Change-Id: Ibefd3289155ba23a17c234a061b0a5136fbdf718 CRs-Fixed: 903527
| * | IMS: Enable entry 4G conference call in Dialercdu2015-10-302-0/+14
| |/ | | | | | | | | | | | | | | 1) Start conference call in dialtact 2) Start conference call in dialpad with numbers 3) Show 4G conference call option only if IMS is registered Change-Id: I9f9c379e26b904f7749a72241e51cc6660f98d53
* | Merge tag 'android-6.0.0_r26' into cm-13.0Ricardo Cerqueira2015-11-057-44/+100
|\ \ | |/ |/| | | | | | | Android 6.0.0 release 26 Change-Id: I2dce2b8ad58cd52f63a674c690971361b9b89e30
| * Use View.performHapticFeedback for haptic vibrationYorke Lee2015-08-261-16/+3
| | | | | | | | | | | | | | | | This ensures that haptic feedback always behaves similarly to other system widgets regardless of device. Bug: 23523043 Change-Id: Ic1cac22ef87dcaf92a1ac8e11f82956f90e99f99
| * am 9d1d797b: Prevent NPE in VoicemailPlaybackPresenter.Andrew Lee2015-08-211-3/+5
| |\ | | | | | | | | | | | | * commit '9d1d797be52a41ed9a83790d231fa2e659666aa1': Prevent NPE in VoicemailPlaybackPresenter.
| * \ am 6b9d9a0b: Use correct "Can write to settings" check in ↵Yorke Lee2015-08-131-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | DefaultRingtonePreference * commit '6b9d9a0b7f7e9e2e5e4d7c03a63581bff84346a6': Use correct "Can write to settings" check in DefaultRingtonePreference
| * \ \ am 26b9e56b: Correctly check for ability to write to system settingsYorke Lee2015-08-072-7/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '26b9e56b19472a2608e3f3feefd647ca63306e33': Correctly check for ability to write to system settings
| * | | | Add "Call with Note" from dialpad.Tyler Gunn2015-08-051-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22685114 Change-Id: Id7d16634a0baad03b28b509b62315f43fa022ee4
| * | | | Add "Call with a note" action.Tyler Gunn2015-08-056-25/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | | IMS: Fix Edit before call option not working issueBenergy Meenan Ravuri2015-10-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not hide DialpadFragment when reenter Dialer, set the number get from intent to dialpad text. Change-Id: Ia3cc39d7d8773a475ef6115f1b73e2ebf2d8495f CRs-Fixed: 910378
* | | | | Remove quick responses based on configAndalam Parthasarathi2015-10-061-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If config_reject_call_via_sms_enabled is set to false, remove "Quick Responses" During Incoming call, reject via sms target will not be visible Change-Id: I91bebeaf972ae07a71c506ab049bcc8aeba5d2b4 CRs-Fixed: 771780
* | | | | Dialer: Display 14 digit IMEI(Ignore Check Digit)Sindhu Kanathur2015-10-061-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show 14 digit IMEI instead of 15 digit based on the config (ignore check digit) Change-Id: I626d8e4c8b6bfae5ec75a303c1582d0b4ed107eb CRs-Fixed: 808534
* | | | | IMS: Fix to remove unwanted group conference icon.Suchand Ghosh2015-10-061-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unwanted group conference icon is visible along with add contact icon at all contacts tab in dialer application. Remove unwanted group conference icon from add contact icon at all contacts tab. Also fix to show dial icon instead of call icon when launch dialer app. Change-Id: Ifaa6c829e3956d326961313c21ff7ba64e4d670e CRs-Fixed: 911210
* | | | | Dialer app changes for IMSSuchand Ghosh2015-10-062-29/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IMS Conference URI UI changes 1. Add a new button for initiating conference URI call in the Dial screen. 2. Send a intent for the conference call with a extra to indicate the call type as conference. IMS: Allow dial Conference call without URI List Allow place conference call without URI List and don't show error toast in this case IMS: Clean up Conference URI system property Remove system property "persist.dbg.ims_volte_enable". Add platform configuration flag and user's enhanced 4G LTE setting to decide IMS capability. IMS: Add participant support Insert "add_participant" extra to dial intent IMS: Fix dialer app crash issue due to NPE FragmentActivity can be null if it's not yet attach. So it can be null in such case. Add null check to avoid NullPointerException. Change-Id: Ib35c394dd10dea7526601824f11e5ebd9db459ce
* | | | | IMS-VT: Use original dialed string instead of normalized dial stringSuresh Koleti2015-10-061-1/+2
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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. Change-Id: Ib85750abef765ace127ebde3a13397b4dfad48fa CRs-Fixed: 806046
* | | | Prevent NPE in VoicemailPlaybackPresenter.Andrew Lee2015-08-211-3/+5
| |_|/ |/| | | | | | | | | | | Bug: 23386856 Change-Id: Ib87184199e8578a1fe3b0a6457b26069673f56ca
* | | Use correct "Can write to settings" check in DefaultRingtonePreferenceYorke Lee2015-08-131-2/+2
| |/ |/| | | | | | | Bug: 23187565 Change-Id: I3a511e41ce9cb1e1c67dd2638e1f601e8ccebb9f
* | Correctly check for ability to write to system settingsYorke Lee2015-08-062-7/+7
|/ | | | | | | | Use Settings.System.canWrite instead of direct check of AppOp using AppOpsManager Bug: 22987149 Change-Id: I2484d531cce988af6e054d4c900efa277f7e622f
* Merge "Use ACTION_SENDTO for send sms intent" into mnc-devYorke Lee2015-07-291-1/+1
|\
| * Use ACTION_SENDTO for send sms intentYorke Lee2015-07-281-1/+1
| | | | | | | | | | | | | | | | This ensures the default SMS app is correctly launched. Bug: 22776119 Change-Id: I83610a49d435ba3917225621430b7c8015407f5a
* | 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
* Merge "Fix bug in FAB action" into mnc-devYorke Lee2015-07-281-1/+2
|\
| * Fix bug in FAB actionYorke Lee2015-07-271-1/+2
| | | | | | | | | | | | | | | | If in contact search, always show the dialpad if the FAB is clicked. Bug: 22751856 Change-Id: I069064489664a1f9c3749b34e8b333f878bbf04b
* | 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 "Protect against lack of WRITE_SYSTEM_SETTINGS AppOp" into mnc-devYorke Lee2015-07-253-9/+64
|\
| * Protect against lack of WRITE_SYSTEM_SETTINGS AppOpYorke Lee2015-07-243-9/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guard the following entry points with checks against the AppOp 1) Launch of SoundSettingsFragment Fallback: Send to system sound settings instead 2) onResume of SoundSettingsFragment (this can happen if the AppOp is toggled by the user in the background) Fallback: Return to main Dialer settings instead 3) Toggling of various perferences (this can happen in monkey tests) Fallback: Show toast, ignore settings chance Bug: 22660372 Change-Id: Ief5d74166d35a9718ea664f378f6930e777f2923
* | Merge "Set correct view to display playback error text" into mnc-devYorke Lee2015-07-241-1/+1
|\ \ | |/ |/|
| * Set correct view to display playback error textYorke Lee2015-07-221-1/+1
| | | | | | | | | | Bug: 22642715 Change-Id: I01c8c8a7ec3dfa132c0aad37fe847fd58daae516
* | Merge "Reset voicemail playback when call log is paused." into mnc-devNancy Chen2015-07-212-11/+18
|\ \
| * | Reset voicemail playback when call log is paused.Nancy Chen2015-07-172-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Make permission request view intercept clicks" into mnc-devYorke Lee2015-07-211-0/+2
|\ \ \
| * | | Make permission request view intercept clicksYorke Lee2015-07-211-0/+2
| | |/ | |/| | | | | | | | | | Bug: 22631821 Change-Id: I3f2ef3f0e1d16ec406e1bed7f6b4c980e17b058f
* / | Don't auto expand next voicemail after deletingYorke Lee2015-07-203-1/+30
|/ / | | | | | | | | | | | | | | | | Pipe onVoicemailDeleted notification through to CallLogAdapter. Reset expanded position when that happens. Bug: 22534894 Change-Id: Iec69082bd8b3259f500b523da6d0710bece69fa4
* | Refresh all contacts fragment when permission grantedYorke Lee2015-07-172-1/+42
| | | | | | | | | | Bug: 22174668 Change-Id: I6d23fb76c6b67093ee1193fba45bd20baa50a68f
* | Merge "Add permission prompts for contacts and dialpad search" into mnc-devYorke Lee2015-07-179-31/+163
|\ \
| * | Add permission prompts for contacts and dialpad searchYorke Lee2015-07-179-31/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Update Dialer permissions UI per mocks" into mnc-devYorke Lee2015-07-161-1/+1
|\ \
| * | Update Dialer permissions UI per mocksYorke Lee2015-07-151-1/+1
| | | | | | | | | | | | | | | Bug: 22174668 Change-Id: If6757ff66c411228cfa22d70caaf6cc532fd2b31
* | | Merge "Pause playback when voicemail is deleted." into mnc-devNancy Chen2015-07-152-2/+6
|\ \ \ | |/ / |/| |
| * | Pause playback when voicemail is deleted.Nancy Chen2015-07-152-2/+6
| |/ | | | | | | | | | | | | | | We don't want the voicemail to continue playing after deleted, so perform the pause behavior when the delete button is pressed. Bug: 22462516 Change-Id: I664c5aed0c2bd1910cdf1f20a33c0117dde8d0cc
* / Update Dialer UI to prompt for permissionsYorke Lee2015-07-157-95/+289
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Permission protect UndemoteOutgoingCallReceiverYorke Lee2015-07-141-4/+23
| | | | | Bug: 22479151 Change-Id: I7e2689cfd3b6a315e7a225d2a8646b5917f70570
* Merge "Don't cache results of permission check" into mnc-devYorke Lee2015-07-143-3/+0
|\
| * Don't cache results of permission checkYorke Lee2015-07-133-3/+0
| | | | | | | | | | | | | | | | For maximum safety, always check the current permission status on the fly. Bug: 22455059 Change-Id: I05da7ec1ad2e885e3e5e78e14585c876ac19178e