summaryrefslogtreecommitdiffstats
path: root/src/com/android/dialer/settings/DialerSettingsActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor CallerInfo strings to simplify translationsArtem Shvadskiy2016-05-201-1/+1
| | | | | | | | Reverting back to original string definition before change caused by Ia0c420f89e22467f2a19c879c47e812c10f88945 Change-Id: Iaf090024807e9e5529e53f3ada11b220af6773d3 issue-id: OPO-724
* Add negative option to caller info disable dialogArtem Shvadskiy2016-05-201-0/+7
| | | | | Change-Id: Ia0c420f89e22467f2a19c879c47e812c10f88945 issue-id: OPO-724
* Dialer Settings: fix InCall Plugin settingsRaj Yengisetty2016-05-171-20/+34
| | | | | | Ticket: FEIJ-536 Change-Id: I6229aba64191c23c1b57165022d14bb384977c91
* Add Caller-info provider nudges and adapt new CallerInfoApiArtem Shvadskiy2016-05-091-6/+1
| | | | | | | | | CallerInfoApi within AmbientSDK has undergone a revision. There are changes to authentication APIs for Plugins and also to the LookupProvider APIs. Change-Id: Ia247925c7797e290ec05214bdca27ec70e41abda issue-id: DIALER-719 DIALER-724
* Fixes an issue where Note settings weren't launching when clicked.NathanielWaggoner2016-05-091-0/+4
| | | | | | | | A refactor patch broke note settings, this gets them working again. NOTES-109 Change-Id: Ib8c2be7cb87811af973594d27007e25a5daca73d
* Modify Settings activity for the revised CallerInfoApi within AmbientSDKRohit Yengisetty2016-05-081-193/+207
| | | | Change-Id: I65a22f7976a4956bdce17db7dd48a26c4b734286
* Dialer DeepLink IntegrationNathanielWaggoner2016-04-291-0/+41
| | | | | | NOTES-53 Change-Id: I90fe73dff9615a9955e61700fe9a712e6a5952ed
* [4/4] Update dialer for CallMethodHelper refactorStephen Bird2016-04-271-10/+10
| | | | Change-Id: I79f5e6285de5237f5a50a5cc1534f590e03a6996
* Settings: Add back AccessibilityStephen Bird2016-04-211-8/+16
| | | | | | | Also, only show speeddial if the user is the primary. This is how it used to be. Change-Id: I07cccd04f4825f2f80fee06c7e8a6bdca5f70932
* Metrics: Fix some bugs found by testingStephen Bird2016-04-081-1/+8
| | | | | | | | | | - Add INAPP nudge counts - Verify SharedPreference Keys - Use the proper time for call aggregation - Using toShortString on a ComponentName is horrid Don't do that, we use flattenToShortString instead Change-Id: If66b845753b396a645ffbfd7637045b1178f5000
* Fix race with credit listener removalStephen Bird2016-04-081-2/+2
| | | | | | | | | | Unsubscribe should only be done in the onPause. This allows the old activity to remove it's listeners before the new one resumes. Otherwise, the old activity will remove the listener after the new one has. Ticket: CD-387 Change-Id: I3ef0f3c7fd479134466478a7d01b30490f6905ca
* Decouple getAllCallMethods from refreshingStephen Bird2016-04-081-0/+1
| | | | | | Otherwise we can do unneeded work Change-Id: Iebe4d0f20203d3068f5b318189033ac77167836f
* Add CallerInfoProvider options in SettingsKamaljeet Maini2016-04-081-7/+126
| | | | | Issue-Id: DIALER-706 Change-Id: I4dee753f25b7a48baef64586bb565eed297014df
* InCall: port nudges and fix plugin settingsRaj Yengisetty2016-04-081-2/+4
| | | | Change-Id: I79f1c66e610419d18d7763b9063f775eacf85266
* Incorporate namespace changes for PluginStatusRichard MacGregor2016-04-081-6/+6
| | | | Change-Id: I3c1ed2b26634f69c2ad6b3e8b32c7dae0045d4ab
* Move CallMethod items to PhoneCommonStephen Bird2016-04-081-6/+3
| | | | Change-Id: I3d94a5d619274e5aecac7646ab71568d84e25456
* Add InCall SettingsStephen Bird2016-04-081-54/+347
| | | | Change-Id: I7a0731c4c679b4543c4a503189172a1af2f2d5a4
* Dialer: add to support speed number dialDanny Baumann2015-11-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allow user to set speed dial number from 2~9, when long click these numbers, it will pop up a screen to set speed number or dial out directly if you have set it before. Change-Id: Iaab841933ad0e63dee70e7f4dc7f078507c425b3 Dialer: fix force close when speed dial When user sets the speed number and call speed number, will find force close. The reason is using wrong action in the DialpadFragment. We replace action ACTION_CALL_PRIVILEGE with ACTION_CALL. Change-Id: I0dc03ce7ac6bac86f9e9f2a7836546000b876bcd Dialer: fix wrong visible status of voice search button When user enters dialer main screen, it will prepare and check whether should show voice search button, but after back to non-search mode from search mode, it ignores to check and so the button status become wrong. We add to check whether should show voice search button in visibility updating function. Change-Id: I4374b3c44156294d00d5290316a7510e41a331a1 CRs-Fixed: 730644 Dialer: Start VoiceMail interface directly when click voice mail Start SelectSubscription when click voicemail in SpeedDialListActivity. Make an intent to start CallFeaturesSetting add a sub to decide which sim card's setting to start. CRs-Fixed: 731532 Change-Id: Ie5daf6e2c30580aaf9e74d274ee24dcf38092615 Dialer: fix force close in speed dial list The reason is that we use ACTION_CALL_PRIVILEGED which needs to use another permission in your manifest, so will cause SecurityException if you use this without the permission. We will use ACTION_CALL to replace ACTION_CALL_PRIVILEGED. Change-Id: I028d224521c8148874fee94d6f063306181b8f79 CRs-Fixed: 744880 Dialer: Input ,(pause) or ;(wait) when long press * or # There is no response when user long press * and # key. Add listener for these two key. Input ,(pause) or ;(wait) when long press * or #. CRs-Fixed: 641551 Change-Id: If25bcc546a299ef70343b409dbd6590d1655892a Rewrite speed dial feature. Change-Id: I346bcf4552cdf2ddfd3c9b1219bc07c20332d1a2 Tune fonts Change-Id: Ide2b39ea30476987a02f7532cc1d1955fbb3081a
* Dialer lookup.Xiao-Long Chen2015-11-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* Correctly check for ability to write to system settingsYorke Lee2015-08-061-4/+4
| | | | | | | | Use Settings.System.canWrite instead of direct check of AppOp using AppOpsManager Bug: 22987149 Change-Id: I2484d531cce988af6e054d4c900efa277f7e622f
* Protect against lack of WRITE_SYSTEM_SETTINGS AppOpYorke Lee2015-07-241-9/+25
| | | | | | | | | | | | | | | | | | 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
* Only show accessibility settings for primary user.Andrew Lee2015-05-081-9/+9
| | | | | Bug: 19870705 Change-Id: I7d13ab65da9d69819d39b3871297d274140b2a23
* Use UserManager.isSystemUser APIYorke Lee2015-04-181-11/+2
| | | | | Bug: 20348316 Change-Id: I066e6b93c63e09850ef2234dd5c724e44594aaf8
* Hide accessibility settings if none.Andrew Lee2015-03-111-8/+12
| | | | | | | | | If TTY mode is not supported and the device is not configured to support hearing aid compatibility, do not show the accessibility settings header. Bug: 19372734 Change-Id: Id10c49cfa99cbe1f22bb69dcd5a1245e54e18ec4
* Add Accessibility settings to top-level.Andrew Lee2015-03-021-0/+7
| | | | | | | | Followup CL will prevent this from showing if TTY Mode and HAC are not supported. Bug: 19372734 Change-Id: I8f1e93efab6447d2099d5eb6e734704d6632e299
* Merge "Convert GeneralSettings to SoundSettings."Andrew Lee2015-02-271-4/+4
|\
| * Convert GeneralSettings to SoundSettings.Andrew Lee2015-02-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than create a new fragment for "Sounds and vibration", reuse the existing general settings fragment. The other settings which used to reside general settings have been moved into their own top-level settings fragments. + Rename layout file and fragment. + Tweak string names. - Delete category heading; no longer necessary. Bug: 19372734 Change-Id: I5690df7ecbd49da5d5af94889e6b68e053ce25ba
* | Rename DisplayOptions to DisplayOptionsSettings.Andrew Lee2015-02-261-1/+1
|/ | | | | | | I figured this would be a better naming pattern for the settings. Bug: 19372734 Change-Id: I658b6e364bcdc6b41af2c41a98ecd84f5e64cadf
* Merge "Add DisplayOptions PreferenceFragment."Andrew Lee2015-02-261-0/+5
|\
| * Add DisplayOptions PreferenceFragment.Andrew Lee2015-02-261-0/+5
| | | | | | | | | | | | | | | | | | - Remove display options from the general settings fragment. + Move display options into their own fragment, and add header in the top-level Dialer settingss which points to them. Bug: 19372734 Change-Id: I3452177ba5c31fd9e86dafbcf22eebd56c2bb091
* | Remove custom Preference.Header layout.Andrew Lee2015-02-261-71/+0
|/ | | | | | | | This custom adapter was legacy from our implementation of Material design, but we should use the system default styling now. Bug: 19529041 Change-Id: Ie30e283bdc00895746c429a337cad19a95ac6b0f
* Move QuickResponseSettings to top-level.Andrew Lee2015-02-191-4/+12
| | | | | | | | | | | + Add "Quick responses" header to DialerSettingsActivity. - Delete code in GeneralSettingsFragment related to quick responses. - Delete the RespondViaSms PreferenceScreen from the general settings layout. - Remove unused "other" label string. Bug: 19372734 Change-Id: I5067da19b1eab5aa370e687556b368c7bd010e2c
* Remove summary/secondary text from settings.Nancy Chen2014-11-111-3/+0
| | | | | | | | | | Per settings design guildelines, we should not be using the second line to describe the contents of a setting with subscreen navigation (this second line is now used for just status). Remove these second lines from the dialer settings UI. Bug: 17446974 Change-Id: Idbeace64c088805a19a77b1438dd66a618387848
* Merge "Use improved analytics in Dialer" into lmp-mr1-devBrian Attwell2014-10-311-3/+2
|\
| * Use improved analytics in DialerBrian Attwell2014-10-301-3/+2
| | | | | | | | | | | | | | | | | | Remove dependencies on old analytics code. Initialize analytics inside DialerApplication. Improving analytics CL #4/4 Bug: 18039620 Change-Id: I52f68e50297db2aae61d67d9bdbe66cb1d75aafc
* | Create call settings intent in DialerSettingsActivity.Andrew Lee2014-10-271-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Remove helper method in DialtactsActivity. + Create intent in DialerSettingsActivity. This is the only place the method is called; it seems that this code to create the intent should live in DialerSettingsActivity instead of DialtactsActivity. Bug: 18114923 Change-Id: I129b716c2a247994647c123f1cbd945b7ef36778
* | Show phone account settings for multiple sims.Andrew Lee2014-10-241-6/+25
|/ | | | | Bug: 18114923 Change-Id: I93559004bb4fe31b24685155a57424e24770c115
* Delete duplicated classBrian Attwell2014-10-231-3/+2
| | | | | | | | | Also renamed dialerbind package Analytics CL #2/5 Bug: 18039620 Change-Id: I45722015978038cdccb6a848c28e4b6c90d5aa4f
* Update padding base settings for dialerNancy Chen2014-09-251-6/+0
| | | | | | | | 2. Adjusted the padding around the base call settings preference page to match the settings on the sub preferences Bug: 17529308 Change-Id: Iba1c6cfb4057cf56e8250abea25602aa2ce4eac8
* Add "general settings" settings menu in DialerAndrew Lee2014-08-141-5/+5
| | | | | | | | | | | | | + Add new fragment/preference screen xml for general settings. + Some settings are moved from Telephony's call settings. Logic in the general settings fragment is mostl taken from the CallFeaturesSetting PreferenceActivity.. + Some settings are contact display options which have been moved into this menu. + Moved DefaultRingtonePreference from Telephony. Bug: 16788935 Change-Id: I28677bfdcb2cb17bce4981c01b6c03d4effa0a7e
* Disable call settings for secondary users.Andrew Lee2014-08-141-7/+29
| | | | | Bug: 15847952 Change-Id: I50f4995a08c9c1feac097242aec97a375213759e
* Changing Activities to implement Analytics (1/2).Sai Cheemalapati2014-07-301-2/+2
| | | | | | | Dialer's Activities now implement AnalyticsActivity. All Activities now have access to sendHitEvent, which is a no op in AOSP Dialer. Change-Id: I318f08bfaf98cb88f9dbf6e4f28994b215bafa77
* Update call settings to mocksNancy Chen2014-07-211-0/+83
| | | | | | | | Increase padding and modify text spacing. See screenshot here https://drive.google.com/a/google.com/file/d/0B0hheJjccUOjMHAycHN5Qy01MVk/view?usp=sharing Bug: 15571286 Change-Id: Ieb3c9e0103bcf2bdfe236ba84d21897b4757faf1
* Make ContactPreferences use SharedPreferences instead of System settings (5/5)Yorke Lee2014-07-151-0/+54
* Move constants that originally lived in the framework into ContactsCommon * Use SharedPreferences instead of System settings to persist preferences * Use a SharedPreferenceListener to monitor changes instead of a content observer on system settings * Move DisplayOrderPreference and SortOrderPreference into ContactsCommon so that it can be used by Dialer * Create base DialerSettingsActivity in Dialer, and make GoogleDialerSettingsActivity extend it Bug: 16153186 Change-Id: I27befcc3b038038830f72092b55a6fc8a6f85674