summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/SettingsActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-12-131-6/+23
|\ | | | | | | https://github.com/CyanogenMod/android_packages_apps_Settings into replicant-6.0
| * Merge tag 'android-6.0.1_r66' into HEADJessica Wagantall2016-09-071-0/+5
| |\ | | | | | | | | | | | | | | | | | | Android 6.0.1 release 66 # gpg: Signature made Tue 06 Sep 2016 09:27:08 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| | * Pre-setup restrictions DO NOT MERGEJason Monk2016-07-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Prevent external tiles from system apps - Don't let user settings run - Disable help Bug: 29194585 Change-Id: I74ab8aaab62d62cc4dbbdf3164429a503f3a572b
| * | Allow restricted users to change status bar settingsSam Mortimer2016-08-041-0/+1
| | | | | | | | | | | | Change-Id: I121653cfd8e74333db32d7db18fc2dde05f00e2d
| * | Settings : Filter livelockscreen, button for secondary usersDanesh M2016-05-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Secondary users should not be able to configure either of those. OPO-696 Change-Id: I43409c090fb12df576c29297fb506c70e6583bce
| * | Add config to hide/show weather menuLuis Vidal2016-05-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | This config controls whether the weather menu should be displayed in settings Change-Id: I89502d22cb56496825f497e6b19fce3d8e0a7a3c TICKET: CYNGNOS-2796
| * | Setting : Don't show search for activities not within same shared user idDanesh M2016-04-261-1/+2
| | | | | | | | | | | | | | | | | | Ticket: CYNGNOS-2522 Change-Id: I00d0a0e4d9ecc619846ce5e4e8fe8f6d7eeb4887
| * | Add Weather Content Provider [2/5]Luis Vidal2016-03-311-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new entry in the settings menu to select the available weather provider services. This entry will be parked in the System category between Date&Time and Accessibility Change-Id: Ida230f3be72eb575a2b09504c99eaa16851c99f8
| * | LLS: Add LiveLockScreenSettings to ENTRY_FRAGMENTSd34d2016-03-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Trying to launch Live lock screen settings will throw an IllegalArgumentException since the fragment is not considered valid. Add it to ENTRY_FRAGMENTS so it is considered valid. Change-Id: I13b52dc2f65f62fe7146b3002720a901dd363338
| * | Move external input tile inclusion to device repo.Danny Baumann2016-03-211-3/+1
| | | | | | | | | | | | Change-Id: I1afa10da1b9e0cc35c5198d1cbd5c13e2b4c343d
* | | Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-03-181-1/+2
|\ \ \ | |/ / | | | | | | https://github.com/CyanogenMod/android_packages_apps_Settings into replicant-6.0
| * | Settings : Add multiuser support for CMHardwareDanesh M2016-03-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Show button for other users - Use services instead of CMHardware for vibrator and touch sensitivity - Do a one time restore of tunable settings CYNGNOS-1166 Change-Id: I0de8eef6bf73c344ee5789e9650dd96b25b1a6bc
* | | Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-02-061-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | https://github.com/CyanogenMod/android_packages_apps_Settings into replicant-6.0 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> Conflicts: res/xml/privacy_settings_cyanogenmod.xml
| * | Settings : Show search on all panelsDanesh M2016-02-021-1/+1
| | | | | | | | | | | | | | | | | | RM-208 Change-Id: Id8467a6f57e60dfe58e7d1f38acb8d833bd298cf
* | | Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-01-141-5/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/CyanogenMod/android_packages_apps_Settings into replicant-6.0 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> Conflicts: src/com/android/settings/cmstats/AnonymousStats.java src/com/android/settings/cmstats/PreviewData.java
| * | Integrate mobile network settings into SIM settings for MSIM.Danny Baumann2016-01-061-5/+7
| | | | | | | | | | | | Change-Id: I3ab67d0dcb2979d2b527d40642d0c0f5b3e07034
* | | Merge remote-tracking branch 'github/cm-13.0' into replicant-6.0Wolfgang Wiedmeyer2015-12-261-0/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> Conflicts: res/xml/anonymous_stats.xml Change-Id: Ie000ecbf14581381ea5a7ebffd35dfd93ee20e76
| * | Settings: Conditionally remove Buttons tile from DashboardBrandon McAnsh2015-12-221-0/+6
| | | | | | | | | | | | | | | Change-Id: Iaddd3dd87ea2b0b04e3f312a156a6a25a948d039 Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* | | always show dev settingsWolfgang Wiedmeyer2015-12-261-3/+1
|/ / | | | | | | | | Change-Id: Ife3a0e3e1af9c68310a6093cc9705d51676b94c9 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Settings: add switches for dashboard itemsRoman Birg2015-12-151-0/+5
| | | | | | | | | | Change-Id: Ibff81510270745807a4b133457d60d47dd629df6 Signed-off-by: Roman Birg <roman@cyngn.com>
* | Settings: Ignore externalIndex if its greater than dash category size.Adnan Begovic2015-12-141-1/+2
| | | | | | | | | | | | | | Otherwise you end up with a index out of bounds exception when the tile is to be added. Change-Id: I4ae6d7a3a89c1119962bc174c775a03ae382bc9b
* | Settings: Add back oclick settingsMichael Bestas2015-12-121-1/+2
| | | | | | | | Change-Id: I94482a3ff6f7a88ce271f65ad167e2cfd57d3195
* | Settings: allow Profiles to be launched externallyRoman Birg2015-12-101-0/+2
| | | | | | | | | | Change-Id: I620be76139989722ac722f00259425c237a1c66e Signed-off-by: Roman Birg <roman@cyngn.com>
* | Settings : Port over reorganization from 12.1Danesh M2015-12-081-19/+10
| | | | | | | | Change-Id: I3d77bb96aba4a501d3223e72be60403694828a34
* | settings: contributors cloudJorge Ruesga2015-12-011-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squash of: settings: remove contributors cloud margin/padding Change-Id: I120e7bd1611bd47126d91ca1f88ce5cdb964fed8 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Settings: update contributors cloud Generated date: 3rd November 2015: 09:29 Change-Id: I7bc707f3896f91b3fd7d0f9f76700e3938f1a4b2 Change-Id: If5b89e0d278b7a0c85c966e09264b60927889fc9 JIRA: CML-133 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Settings: Allow launching display rotation settings externallyMichael Bestas2015-11-281-0/+2
| | | | | | | | Change-Id: I69168fea2a43cfa7f2b8474042c35720f4431040
* | settings: Only show mobile_networks if we have telephonyChristopher R. Palmer2015-11-251-0/+5
| | | | | | | | Change-Id: I937eaca7abefb4354cc274d5d5934a33149f4414
* | privacy: Actually set the blacklist preferenceDiogo Ferreira2015-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The preference was not being set, which caused this code to throw an NPE on devices without telephony when opening the privacy preferences. This bug also affects devices with telephony in that the preference doesn't update its text. I also got rid of the null check because the preference always exists, the null check is pointless and ended up hiding this bug. Change-Id: I95555d44349700a8f29a71a2f2ee9aedf419b49b Settings: Fix blacklist settings crash Change-Id: Idd261aa9f8e2867312aaaece26150671b177994c Settings: materialize Blacklist settings * Add a FAB * Add a (generic system) enable/disable switch bar Change-Id: I0984bf6769abef48cc7e0a643c2bdd73219954fc Signed-off-by: Roman Birg <roman@cyngn.com> Settings: add a way to open blacklist settings externally Opening the activity doesn't theme the switch bar - an alias works. Change-Id: I78efb382f4f1f4d208f122fedb0d71a86b515405 Signed-off-by: Roman Birg <roman@cyngn.com> blacklist: make it possible to unblacklist phone/messages via checkboxes Change-Id: I7d982d17818efe065e4e22f2a86a46493672584a Settings: fix blacklist settings crash On a device rotate, the MultiSelectListPreference would try and restore its state since the preferences aren't persisted. Clear the persisted flag so the MultiSelectPreference doesn't try and restore the states, as they get populated in onResume(). Change-Id: I0d0304e2367ade66e35ae7df432575d13ed0993e Signed-off-by: Roman Birg <roman@cyngn.com> Settings : Update blacklist strings Change-Id: I08ea4405f41f86a9eaf7bae74cbb61fa1fb0c8aa (cherry picked from commit 6d8cc2c697752a1357915ea88651b2fe220a54ba) Settings : Add input checks for blacklist input There can be situations where user enters invalid input. Ensure that is handled. Repro : 1. Add new blacklist entry 2. Enter / 3. Press ok 4. Enjoy crash issue-id: CYNGNOS-980 Change-Id: Ica90ac835f374569123e679ba39c3caa7179ef65 Settings : Fix blacklist delete number crash issue-id : HAM-795 Change-Id: I25306b3d4bead5487f039c3f51b631b1ef88b18d
* | Move Blacklist and Notif Filter to PrivacyAbhisek Devkota2015-11-131-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Match CM 11 Change-Id: I5e3f9c26b68a89ba1622d95e2d0e4f4a93361c5e Cleanup Security/Privacy settings code Cleanup: * Mismerges * Code style * Copyright headers * File permissions Change-Id: I6c34586680f0ccbaa613a0acfee366113c32a81c
* | Add back blacklist settings.Danny Baumann2015-11-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iae35717acfa9af4da75c07d24352acf981d19fc7 Improve translatability of summaries. Change-Id: I362b335cbe219d6e371a458c9d50fcd66bdf19fe Settings: Alert user when they attempt to add an invalid number to BL. - BlacklistProvider will reject numbers that aren't valid, silently. So instead of resuming to a blank screen, we should alert the user that the number they attempted to add is invalid by utilizing BlacklistUtils#addOrUpdate method. Change-Id: I1ca32427baad41c1c9379e18046e6ca7937b6d32 Add missing blacklist xxhdpi drawables. Change-Id: I327f408ff344e9358c479cf5fe9dc341918511b2 Blacklist: Fix launching blacklist settings Change-Id: I0043503e6ac0d3536941394ee5057001b72f9114 Settings : Launch only contacts picker for blacklist entry Change-Id: I266d1ad7f1aab745728b33490268cb197188f2b3
* | Settings: Cleanup battery saver settingsMichael Bestas2015-11-031-2/+0
| | | | | | | | | | | | | | * Add back auto battery saver * Add back support for battery saver on devices without perf profiles Change-Id: I562420a81592fde54a96dca88a71ed9137bb59a9
* | [2/2] Settings: Privacy GuardSam Mortimer2015-11-031-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PS2: * add ic_privacy_guard*.png from frameworks/base * rebase PS3: * enable AppOpsSummaryActivity * use SubSettings on longclick PS4: * move privacyguard settings category to just below security PS5: * rebase Pulled together mostly (if not all) from: Author: Steve Kondik <shade@chemlab.org> Date: Tue Feb 25 14:02:16 2014 +0100 settings: Relocate Privacy Guard icons to framework * So we can use them in the permission dialog for MODE_ASK Change-Id: Ia9bac7dff0bbe91ae48db5d4b0d8f46feb9fdf86 Author: DvTonder <david.vantonder@gmail.com> Date: Thu Jan 16 19:01:23 2014 -0500 Settings: Fix up top level "Privacy" section Change-Id: Id4dbda10a891c793bc6eb3c42807cc0e3f6092cc Author: Danny Baumann <dannybaumann@web.de> Date: Fri Nov 8 13:37:07 2013 +0100 Add back privacy guard manager. Change-Id: Ic9fbbae137bb8425fe72a6cdb2f17117351b5709 Author: Chirayu Desai <cdesai@cyanogenmod.org> Date: Sat Dec 28 18:51:46 2013 +0530 PrivacyGuard: Specify a default value in Settings.getInt method call * While privacy guard is enabled by default, the default value specified here is returned only when the setting is not defined or not an integer. Change-Id: Iaedffcc76a23a310aa7915f6a42ccce83ba5d2a6 Author: Matt Mower <mowerm@gmail.com> Date: Wed Feb 5 19:40:37 2014 -0600 PrivacyGuard: confirm permissions reset The button to reset all application permissions to enabled looks suspiciously like a refresh button. Prompt the user with a confirmation dialog to make sure they know what they've pressed. Change-Id: I0444c5bf8e9533feccf890055d34d3200609c6f6 Change-Id: I2e10cb4d395e2e7e5141d2fadada9e9b21cd7fbf
* | livedisplay: Add LiveDisplay settingsSteve Kondik2015-10-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | * Add preference for LiveDisplay mode, and additional supporting options for auto mode. * CABC, SRE, CE are all under this umbrella now. * Manual RGB tweaking is now handled here and the requirement for CMHW has been removed as it will go thru RenderEngine. * Moved all related code into the livedisplay package. Change-Id: I0b00f2bfd8f8227d64ad271bbe0f004f0b4bcf9d
* | Settings : Add hooks for device specific featuresDanesh M2015-10-291-1/+2
| | | | | | | | | | | | | | | | | | | | Add support for : Devices with bluetooth input peripherals Devices with screen gesture support Devices with a back touchpad Change-Id: Ia4835c69a8ba8fb76597e0ab0540f8ef1ed6e322
* | Settings: squash of new profile UI for cm-12.0Roman Birg2015-10-261-0/+24
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additions for cm-12.0: - removed expanded desktop - added add profile FAB - updated tabs for meterial style - added enabler switch bar Squashed commits: ------------------------------- Settings: refactor Profiles to be more user friendly * Remove the notion of Profile app groups * Rearrange profile setup flow, now we first present the user with ways which will trigger the profile, then allow them to set what happens when the profile is triggered. Change-Id: I2870df894046cd43c21c67991fb5efc9c3fec837 Signed-off-by: Roman Birg <roman@cyngn.com> Settings: cleanup new profiles UI * cleanup old code * for configuring profiles, add options to modify triggers and remove the profile * remove separate activity * don't hardcode padding pixel sizes Change-Id: I6b1d05c9f918714249411006c7562496e2a7539e Signed-off-by: Roman Birg <roman@cyngn.com> Profiles: fix expanded desktop settings not applying Change-Id: Ia523145bf47bfc189c29b035ad5ec6e053cf9296 Settings: Fix profiles volume override summary. Change-Id: I499cfb3006a7fc7b5e931ac854a7437f5d141523 Settings: fix Profiles expanded desktop choice mapping Change-Id: Ib96811a0c268ca68a7b9732283c5abc142d143a4 Signed-off-by: Roman Birg <roman@cyngn.com> Settings: add "Untouched" ring mode option in profiles Change-Id: I4ac2d63119b328533217104a799cb0660ecddfb9 Signed-off-by: Roman Birg <roman@cyngn.com> Settings: profiles: fix volume streams override behavior Before we would always assume to override the stream, but that is not always the case. Add a checkbox to turn the override on and off. Signed-off-by: Roman Birg <roman@cyngn.com> Change-Id: Ic1a58d59a9e514d4c2ccf376191ac7989bbead26
* Bug: 22718745 Intents to 'draw over other apps' should go direct to the ↵Billy Lau2015-07-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | package's page instead of the top level one Settings: Added two activities to handle app-specific Intent when app invoke permission management UI. SettingsActivity: Added two fragment classes to handle app-specific Intent when app invoke permission management UI. AndroidManifest.xml: We handle both Intent to top level settings and app-specific management UI for app ops protected permissions. AppStateAppOpsBridge: Added a new field to PermissionState to keep track of permission declared vs one that is actually granted during install time. AppState{Overlay/Usage/WriteSettings}Bridge: Updated the fields affected by changes in PermissionState. {DrawOverlay/UsageAccess/WriteSettings}Details: Disabled the toggling of permission if the app did not declare for the asked permission. Change-Id: Ibf63e4d9a4fbf7899a93d2176abb1204c4f75557
* Settings: Add widget entry point to magical entry points listing.John Spurlock2015-06-191-0/+2
| | | | | Bug: 21930077 Change-Id: I67b05d6064a2ab0fe93d3d8841c9f23c9246a101
* Layout refinement for app listsJason Monk2015-06-161-0/+2
| | | | | | | | | | | Make all app lists (or at least all current app lists) use the same base layout for icon, label, and sizing/padding. This way they should look the same. Bug: 21727125 Bug: 21726922 Bug: 21853632 Change-Id: I3cffadb9e7b5184d4209deacd4ea70ec1d4f71b4
* Clean up settings shortcutsJason Monk2015-06-111-10/+14
| | | | | | | | | - Remove some bad entries - Fix icons to be top-level item specific - Add memory Bug: 20632230 Change-Id: I067b467b9ee354b52ef61b312dc5a89fd7eae2ac
* Implement default assist app settingXiyuan Xia2015-06-101-2/+2
| | | | | | | | | | | | - Add "None" support to AppListPreference - Add DefaultAssistPreference to manage assist; - Add AppListPreferenceWithSettings to show a settings icon; - Implement DefaultAssistPreference based on AppListPreferenceWithSettings; - Move voice input settings into ManageAssist and implement it based on AppListPreferenceWithSettings; Bug:20210110 Change-Id: If283b8b55a46b428ecfa6e45dc2123292b1d4302
* Hide search from everywhere but the dashboardJason Monk2015-06-021-5/+2
| | | | | | | Because it is too confusing what it does/doesn't search. Bug: 21556767 Change-Id: Ib162177ce3eea816344d8d0fd5d71f85bfc94183
* Remove data item from app info when not supportedJason Monk2015-05-211-11/+2
| | | | | Bug: 21207963 Change-Id: I91693d9a85c0905cbb021181967fa16aac61d3ea
* Merge "Remove the check hasMultipleUsers in Settings." into mnc-devNicolas Prevot2015-05-191-2/+1
|\
| * Remove the check hasMultipleUsers in Settings.Nicolas Prevot2015-05-141-2/+1
| | | | | | | | | | | | | | | | When deciding to show the user section or not, Just rely on supportsMultipleUsers. Don't check hasMultipleUsers. BUG:21119929 Change-Id: Ifbddac10e2f6dc02b8e2e55b41ab9f5be018dfca
* | New UI for controlling USBNick Kralevich2015-05-131-2/+0
|/ | | | | | | | | | Create a new UI for managing USB access control. This UI is implemented as a transparent popup triggered by a persistent notification. Delete the old UI for controlling this. It is no longer used. Bug: 18905620 Change-Id: I54186961414447a9d37f68e946e1c167506170ae
* Settings: New DND access settings page.John Spurlock2015-05-081-0/+2
| | | | | | | | | | - New advanced notification settings subpage for managing apps that have requested the ability to manage notification policy. - Create new "Advanced" section at the bottom of notification settings for this and the existing Notification access settings page. Bug: 18298798 Change-Id: Ib415e634980d37d6492799f67a6619700ee2a01c
* Add high power whitelist for appsJason Monk2015-05-041-0/+2
| | | | | | | | | | | | - Strings not final! - New UX for power usage details (more preferency) - Add high power apps list shows on/off and screen to change (when possible) - Link from power usage summary to high power list - Link from advanced apps to high power list Bug: 19991702 Change-Id: I97c927ed82d3b89041e4429b427508545763d66c
* Update fingerprint settings to specJorim Jaggi2015-04-301-1/+1
| | | | | | | | | | - Make it look like a sub settings activity, with back button - Add disclaimer to describe what your fingerprint can be used for - Update visuals and text for "Add fingerprint" - Update related string Bug: 20594955 Change-Id: I0adfcc743db386e0abf9cfdafff3d068ebc3b4bc
* Merge "Settings: Do not disturb automatic rule updates." into mnc-devJohn Spurlock2015-04-301-0/+2
|\
| * Settings: Do not disturb automatic rule updates.John Spurlock2015-04-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | - Remove FAB for adding rules, move to last preference. - Add first-class event condition type and config sub-page. - Always show radio buttons when adding rules. - Add new data model for event rules. - Add stub condition provider for event rules (always false for now). - Add rule-type icons to rule preference rows. Bug: 20064962 Change-Id: Id5acde371eb2e7d22b1f195459897614db5ba80a