summaryrefslogtreecommitdiffstats
path: root/res/values/cm_arrays.xml
Commit message (Collapse)AuthorAgeFilesLines
* Add setup UI for minimum delay between an app's notification sounds.Danny Baumann2016-10-271-0/+21
| | | | Change-Id: I70e9cc308b4f7c7681457a0b09dd73e5d1aebb73
* Revert "Settings: Add screen color settings"Steve Kondik2016-08-051-7/+0
| | | | | | | | | | * We now have support for HSIC controls in LiveDisplay and this can be deprecated. A new UI to bring the same kind of functionality is underway as well. This reverts commit 853513841512a0fbf15dc22c7164a98d0a2de80b. Change-Id: I4fa3af25f64b05338a78ba7832e75333cf15e448
* fingerpint: Allow devices to configure sensor locationd34d2016-06-301-0/+9
| | | | | | | | | | | | | | | | The text for enrolling a fingerprint always assumes the sensor is located on the back. This patch adds a config integer that defines where the sensor is located on the device. 0 = back 1 = front 2 = left side 3 = right side This patch also adds a new drawable that shows the front of the device when applicable. Change-Id: Ia8f5f8ff4ba4d13d35aed3052f60ff665dd4f294 TICKET: CYNGNOS-3089
* Settings: Set root access options appropriatelyTom Marshall2016-06-291-0/+10
| | | | | | | | | It is possible to be running a user build with a debuggable boot image. In this case, "su" will not be available. So only show none/adb. Jira: BACON-4461 Change-Id: Iaa7df8311b9ea81eabb1566ba6f9159fdc9fab34
* Cleanup cm_arraysMichael Bestas2016-05-141-59/+33
| | | | | | | | * Remove unused resources * Set untranslatables * Convert remaining arrays to string references Change-Id: I8ae61eb81e0148e8b6954ebc46960348bf35044c
* Add option to select temperature unitLuis Vidal2016-05-061-0/+11
| | | | | | | | | | | | | Added a menu in the weather settings to select the temperature unit. This setting will be visible only if the user has at least one weather service provider installed. The weather settings layout was refactored to make room for this new preference Change-Id: I5e9f206573e0ff95fcee31a010b52530a907acc6 TICKET: CYNGNOS-2605
* livedisplay: Update Settings for new LiveDisplay APISteve Kondik2016-04-121-5/+0
| | | | | | | | | * LiveDisplay is getting a proper API. This patch refactors the settings to use it. * Also kill off the deprecated "gamma calibration" tunable which nobody should be using at this point. Change-Id: I948b8845cd06c8c634a201cb5d5b93b5766cc51d
* Settings app Data Usage UI enhancementsKamaljeet Maini2016-04-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified Settings app to support following new features in Data Usage Summary screen: 1) Added two items to overflow menu a) Enable/disable data usage alerts: to enable/disable global switch for data alerts. Shown only when DataUsage provider is installed. b) Reset data statistics: to reset data stats for current tab 2) Added a new per app switch "Mobile Data Alert" 3) Added a new per app switch "Restrict cellular data access" 4) Modified per app background data access feature to support three options a) Over mobile and WiFi b) Only over WiFi c) No access DataUsage provider, service and notification receivers have been refactored into a standalone package to minimize the changes to the Settings App. Change-Id: Ic0e42e57d04dc8e164ebfdab4531cced31c4e6eb Issue-Id: SETTINGS-75 Issue-Id: SETTINGS-76 Issue-Id: SETTINGS-77 Issue-Id: SETTINGS-76
* Settings: ask telephony for network selectionRoman Birg2016-03-151-38/+0
| | | | | | | | | | | | When configuring profiles and selecting a network mode override, ask Telephony to provide the UI for showing the proper network modes. After the user has selected it, we receive the result, and save it in the profile. Ref: CYNGNOS-1463 Change-Id: I866ed1bc1c915ae00804b07dbbafa86e679a5fa7 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Add notification light setting to system profiles (2/2)Petr Sedlacek2016-02-101-0/+6
| | | | Change-Id: I6e0f844362ad5a479b40da08bce8a66be10503ec
* Add Sound Panel to Power Menu (Part 2/2)Italian Quadcore2016-02-081-0/+1
| | | | Change-Id: Ifa62246acdc59e9529431ae3642b67add89ce7ac
* Remove leftover profiles entry from power menuMichael Bestas2016-02-081-1/+0
| | | | | | * No longer available Change-Id: Ifac7e1181dc53af5788f54444ef75a345a888fa2
* Tethering: Turn off Wi-Fi Hotspot after inactivity (3/3)d34d2016-02-021-0/+15
| | | | | | | | Turn off the Wi-Fi hotspot after a specified time of inactivity. The hotspot is considered to be inactive when no clients are connected to it. Change-Id: I7030e702328726b72f394b2a64b93830dba54efc
* Add left QS quick pulldown (2/3)Michael Bestas2016-01-241-0/+13
| | | | Change-Id: I0e8c944039e5a6702bfbbcdbfbf89a3f734f37e3
* Settings: Convert AppOps array items to string referencesMichael Bestas2016-01-031-1/+147
| | | | | | | * Avoid future breakage This will need conversion of all AOSP translated arrays to strings Change-Id: I2e52e4013d1232d529ce5b9e3aae3502c42e938a
* AppOps: Add 'Always ask' option under appOps setting.Shashank Mittal2016-01-031-1/+0
| | | | | | Add always ask option for each operation. Change-Id: Ia4f331a5b7d0b1c8ae6946c55a4f78818fe0454f
* Profiles: Cleanup the codeMichael Bestas2015-12-281-23/+3
| | | | | | | | * Fix code style * Fix a couple mismerges * Align strings with cm-12.1 Change-Id: I0795c114014e53101c7d6697bb9a229c003973ab
* Settings: respect telephony config for profiles overrideRoman Birg2015-12-211-6/+20
| | | | | | | | Some networks specifically disallow 2G to be selected as the preferred setting. We should respect that. Change-Id: Ic4414ed78c9f38b5c11969300dc858725ee3b2c6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Add some more entries into 'SMS message limit' menukuci2015-12-191-1/+7
| | | | | | | | | * Add None, 5 and 10 entries into 'SMS message limit' menu. * Properly write limit value to Settings.Global * The default SMS limit for Android 4.2.2 upwards is 30 per minute. Update string to reflect the correct time interval Change-Id: I8b206ae6c9f73378da65b09e68898de31439cc59
* Settings: Cleanup ALL the stringsMichael Bestas2015-12-191-7/+0
| | | | | | * Match cm-12.1 Change-Id: I7928655125f360de62c25313d01a228e7cd886b5
* settings: LiveDisplay color profilesSteve Kondik2015-12-181-0/+1
| | | | | | | | | * Add support for using the new DisplayMode HAL, which configures the display for a preset mode. * Clean up the settings a bit, and move advanced stuff under an advanced category. Change-Id: If386c93da99346fbee156b057274b60fd064b49d
* wifi: Allow configuration of country code for wifi (3/3)Andrew Dodd2015-11-271-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | Wifi country code handling is a nightmare - Most retail devices have region customization in /system for each country a device is shipped to. This doesn't work very well for a firmware like Cyanogenmod, where we try to support all target countries with one firmware package. For whatever reason, with newer Broadcom drivers/ firmware blobs, the old trick of using a universal region code (ccode=ALL in nvram_net.txt) does not seem to work. Who knows what the deal is for other wifi chipsets. The good thing is that wpa_supplicant has a standardized cross-chipset method for setting the region code, and we use that here. Cherry-Pick: http://review.cyanogenmod.org/#/c/54904/ Require: I429326a77649c77ba40b00eb2236de3ca8839e57 Id9f00d3a678642c6c142fd1511af820d729507a7 JIRA: CML-118 Change-Id: Ia9f5133f61f56d89ccb290e37a393f5de507e1cf
* Move Blacklist and Notif Filter to PrivacyAbhisek Devkota2015-11-131-15/+16
| | | | | | | | | | | | | | | | 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/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Forward port SMS rate limit settingRoman Birg2015-11-131-0/+15
| | | | Change-Id: Ie8fea98e9e24b0f6302eaed22af9241f85ca965a
* Settings: Squashed commit for expanded desktopKyrylo Mikos2015-11-111-0/+12
| | | | | | | | | | | | | | | | | | | | | | Settings: Bringup expanded desktop and implement per-user configuration. Change-Id: Ib673d278d23423fe6885c73f1eb3dd858633e5b6 Settings: Don't load per-app extdesk into memory if not USER_CONFIGURABLE. Change-Id: Iae4857e0cd95d75ae29222bb45a8fdcf0ff1ec48 Settings: Only save settings on destroy if we're user configurable. Change-Id: Ie459053b4614f818dfa19948709a3dd0fdb8f427 Settings: Fix off-by-one SectionIndexer in Expanded Desktop. Change-Id: I7bdd1081114b40cc2ab6372d16bb247401f83a86 Settings: Create default expanded desktop style fragment. Change-Id: Ia5bebb45a953c2a8efdffbab2ddcbfa3d3c3d486
* Settings: Match pulse speed to frameworks defaultMatt Mower2015-11-111-2/+2
| | | | | | | | | | | | | | | | | | frameworks/base defines default LED timings: config_defaultNotificationLedOn = 500 config_defaultNotificationLedOff = 2000 The LedOff timing of 2000 does not match any of the timings in the array of notification_pulse_speed_values. So, a clean installation of CyanogenMod results in an initial value of the notification pulse speed being shown as "Custom". Reduce 2500ms in the pulse length and speed arrays to 2000ms. Then, the default values for a new installation will be: length = Short, speed = Slow. This does have the side-effect of causing existing installations which use 2500ms for either pulse length or speed now appearing as "Custom". Change-Id: Idae42db93a0a329f33d6df6501427b509bc99272
* su: Add Root access app-ops controlDiogo Ferreira2015-11-031-0/+19
| | | | | | | | | | | | Adds an app-ops option for root access. Platform-signed apps weren't previously being listed but there are some that use root access (FileManager comes to mind). So we list all of them, but for platform-signed apps we only show the root toggle and none of the permission-based ones. Change-Id: Ie716974156d55eb66061e78dc39505569e5bdc2a
* Development: Add choices to 'Stay Awake' preferenceBrandon McAnsh2015-11-031-0/+12
| | | | | | | | | * Per a request on Google+ for Google Engineers to add to M, the stay awake values can now be never, while usb debugging, and always. * Keep them pixels awake. Change-Id: I7f43200bab0f000dc7547cc3142c4cacda2f4732 Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* Revert "Revert "Settings : Port forward statusbar settings""Danesh M2015-10-291-0/+61
| | | | | | This reverts commit 4c7e67e680997c15195b1ae96452f8baf3895779. Change-Id: Iaecfc7a36281422a58d469361cef3c6a5659c7d7
* Stylus gestures features (2/2)masiullah2015-10-291-0/+19
| | | | | | *Forward-port to CM-12.0 Change-Id: I0ab78f1129d2d04b0af21e9b38da027dfe3d1295
* Settings: Add screen color settingsZhang Fang2015-10-291-0/+7
| | | | | | | | | | | | | | | | | | | Add "Screen Color" item in settings. This function support set Hue, Saturation, Contrast and Intensity value, and screen color will be changed by this settings. Change-Id: If6f6e7ee7f28862476a8b955cd3252175fefa2a1 Settings : Fix CustomScreenColor when picking an image Change-Id: I510b562eb0e9fb9b558380db5c5d6e818ba17d12 Settings: Start service as explicit intent Needed for API level 21. Add some ressource bits, set text color to white. Change-Id: I9c4a9139be69fa5c6d6c74055b5475f0d930c93a
* settings: Squashed commit of CMHW featuresDanny Baumann2015-10-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add hardware tunables (gamma, color, vibration strength). Change-Id: I44e3e4e6cb444498a7c56048618cd92a0e2b8e59 Settings: restore hardware tunable values on boot Change-Id: I9d2720947d615cab6a7ab9b596b24b8033dd0b4f Settings: Add default value for display color control (2/2) Change-Id: I50b684abe504c21ef49492f99b18873d75509697 settings: Move headset option, hide MoreDeviceSettings if empty * This option fits much better in the sound menu under "automation and effects", and on many devices it's the only option in the "More..." menu under Tap & Pay. * Move it, and remove the MoreDeviceSettings top-level category if there's nothing else in it. Change-Id: Idd82f582a1ba54f8b45fbd4fbe631057e9515f86 Remove 'More device settings' menu Change-Id: I86cd84f6f6c408b26c04d92529e9a031c4fed1f7 DisplayColor: Properly handle a minValue * Previously setting anything as a minValue would cause the percentages to get out of whack. For instance, setting it to 35 would cause the maximum percentage to climb above 100% as well as still allowing the value to be set lower than the min. * This makes the maximum for the slider the max value minus the min (so we get the proper spread for min to max) and then adds the min back on before setting so we can't possibly go below the min. Change-Id: I8dcdc422f54847940351fae10c74af6301d1e1be Settings: AdaptiveBacklight support Add support for adaptive backlight technologies like NVIDIA SmartDimmer, QCOM CABL or Samsung CABC. Patchset 2: Use internal shared prefs to store the smardimmer setting Patchset 3: Rename to AdaptiveBacklight Patchset 4: Reorganize settings and strings to follow design guidelines Patchset 5: CleanUp Patchset 6: Added suggestions Patchset 7: Sync default value. CleanUp. Depends on http://review.cyanogenmod.org/#/c/48465/ Change-Id: I52cb990f36593b265a00b46a5f63590515822ea5 settings: Add support for SRE * Add support for sunlight readability enhancement * Optionally depends on adaptive backlight, depending on HAL Change-Id: I9ca388ffd68080f0e497edb81d5f8616c194ea1d Cleanup. Now that button and keyboard backlight don't use the HW framework anymore, there's no point in having an abstraction for a single use case. Change-Id: Ib66b2a29a105d53e3ba4273abb06977b132c1fc8
* Power menu customizations [2/2]Dave Kessler2015-10-291-0/+10
| | | | | | | | | | | | | | power reboot screenshot profile switcher airplane mode user switcher bug reports [mikeioannina]: Modify for CyanogenMod Change-Id: Iadb41a661770f8b71eef4e12b1d8f04d0ba3e6be
* Settings: last app action in long pressMarcos Marado2015-10-291-0/+2
| | | | Change-Id: I72d9cb5bca5eedd20ea80ee69d370a478e59def4
* Settings: Volume key cursor control (2/2)Konsta2015-10-291-0/+13
| | | | Change-Id: Ibc52b5d0c59558be9a24286ef6f1c6f049e117a3
* Settings : Hardware key rebinding (2/2)Adnan2015-10-291-0/+23
| | | | Change-Id: I1a0546f358e787a9c6ab12024e34255475259424
* Revert "Settings : Port forward statusbar settings"Danesh M2015-10-291-61/+0
| | | | | | | | Revert temporarily. This reverts commit 44365c774032211ef562042d7955fb162aab01dd. Change-Id: Ib4a05de8b4f5a0b8ed4f46ad80ad5fe88d85cc0f
* Settings : Port forward statusbar settingsDanesh M2015-10-291-0/+61
| | | | Change-Id: I4077929106316935921e3e5baae5d15f481d4115
* [2/2] Settings: Battery and Notification LightsSam Mortimer2015-10-261-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PS2: *) Move menu options to sounds and notification *) Remove samm debug cruft PS5: *) Update UI Put together from: Author: DvTonder <david.vantonder@gmail.com> Date: Fri Apr 6 07:39:11 2012 -0400 Settings: Notification light(LED) settings This commit adds the ability to configure the Notification light color and pulse rate both for the default and a custom applications list. This work was done in collaboration with Marko Mihovilić (m1h4) who wrote the initial implementation as a stand-alone application and helped with the fixes below. NOTE: Google Talk notifications originate from the "Google Services Framework" so in order to override their settings you need to add this package instead of the Google Talk package. Change-Id: I6837210367123bc02ea27a9b7b6b3cf80c738bf1 Author: Danny Baumann <dannybaumann@web.de> Date: Thu Nov 7 09:04:29 2013 +0100 Add back notification light settings. Change-Id: I474a14a1b395407f5ca273a5d6a3a7f03f7e4698 Author: Sam Mortimer <sam@mortimer.me.uk> Date: Sat Jan 4 15:52:47 2014 -0800 Settings: fix led pulsespeedoff disable behaviour Keep led pulsespeedoff disabled if pulsespeedon is disabled. This ensures that pulsespeedoff stays disabled if onOffChangeable was set to false. Fixes problem where charged led pulsespeed off looks to be configurable in the ui and thereby creating user confusion. Change-Id: I6ac7f630544bf719b39e1ddcab435322975430c8 Author: Sam Mortimer <sam@mortimer.me.uk> Date: Tue Dec 31 12:11:05 2013 -0800 [1/2] Settings: instant led test Show LED color in realtime when configuring notification colors. Requires framework patch for notification extra EXTRA_FORCE_SHOW_LIGHTS. Change-Id: Ic7858d79cb2351c407afd547b33652a9e04ef1b9 Author: Sam Mortimer <sam@mortimer.me.uk> Date: Sat Feb 1 18:36:15 2014 -0800 Settings LightSettingsDialog: update led on text change Change-Id: I135f37829b9b4fb2166afac9d9531b76a62f3ef7 Author: Danny Baumann <dannybaumann@web.de> Date: Wed Jun 25 08:56:17 2014 +0200 Deduplicate adapter-of-installed-packages code. Change-Id: I454ba79eddaaff86233a2cc341f4c8bebe94729e Author: Michael Bestas <mikeioannina@gmail.com> Date: Fri Oct 17 00:48:17 2014 +0300 Fix copyright headers Change-Id: I7934d01f89953e577c3cb074dce608d9bedd4027 Author: Michael Bestas <mikeioannina@gmail.com> Date: Wed Oct 22 02:23:15 2014 +0300 Add support for single color notification LED (2/2) Change-Id: I4cf21dda3d9e311146149c2ec81fe2398f5f9f87 Change-Id: Ie1203c64484c7d9bed0a6bc0b2808e69ef4bfa35
* Settings: enable/disable doze through Profiles (2/2)Altaf-Mahdi2015-10-261-5/+11
| | | | | | * moved isDozeAvailable boolean to Utils so we can check for it in profiles Change-Id: I5a768098b4ed00b28931bee58a58efa8280262a1
* Settings: restore App groups with advanced modeRoman Birg2015-10-261-0/+14
| | | | | Change-Id: I2dc623ab969d881201b18346e492cf9ea5111587 Signed-off-by: Roman Birg <roman@cyngn.com>
* Profiles: Add 4g as connection options for profiles (2/2)Adnan2015-10-261-0/+10
| | | | Change-Id: Iadf2493266162df238f6fc013a5d60631cc289e7
* Settings: squash of new profile UI for cm-12.0Roman Birg2015-10-261-21/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Profiles : SettingsDanny Baumann2015-10-261-0/+83
| | | | Change-Id: I072758a1c5ec04ef34077551220b6611068fe71d
* settings: Add developer setting for root accessSteve Kondik2015-10-181-0/+32
Change-Id: If96219d893c0dfdcf4ad36e1cd8de3a413db0e8b