summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorBrandon McAnsh <brandon.mcansh@gmail.com>2015-06-22 09:26:25 -0400
committerRoman Birg <roman@cyngn.com>2015-11-03 11:56:04 -0800
commite06cbb57173c3c8206db74a3fdf26553c52ae969 (patch)
tree028fccf19cc25be0379c0610ef8ea6689581b73e /res/values
parent4705f54afbe860337ef1dd9745d3ba9b889d04e3 (diff)
downloadpackages_apps_Settings-e06cbb57173c3c8206db74a3fdf26553c52ae969.zip
packages_apps_Settings-e06cbb57173c3c8206db74a3fdf26553c52ae969.tar.gz
packages_apps_Settings-e06cbb57173c3c8206db74a3fdf26553c52ae969.tar.bz2
Development: Add choices to 'Stay Awake' preference
* 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>
Diffstat (limited to 'res/values')
-rw-r--r--res/values/cm_arrays.xml12
-rw-r--r--res/values/cm_strings.xml4
2 files changed, 16 insertions, 0 deletions
diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml
index 7bbb8b0..1ee23a1 100644
--- a/res/values/cm_arrays.xml
+++ b/res/values/cm_arrays.xml
@@ -348,4 +348,16 @@
<item>1</item>
<item>2</item>
</string-array>
+
+ <string-array name="keep_screen_on_titles" translatable="false">
+ <item>@string/keep_screen_on_never</item>
+ <item>@string/keep_screen_on_debugging</item>
+ <item>@string/keep_screen_on_charging</item>
+ </string-array>
+
+ <string-array name="keep_screen_on_values" translatable="false">
+ <item>0</item>
+ <item>1</item>
+ <item>2</item>
+ </string-array>
</resources>
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 9bb751e..a65dbd5 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -616,4 +616,8 @@
<string name="edge_gesture_service_title">Block gesture touch events</string>
<string name="edge_gesture_service_summary">Don\'t send touch events for navigation and status bar gestures to apps</string>
+ <!-- Keep screen on strings -->
+ <string name="keep_screen_on_never">Never</string>
+ <string name="keep_screen_on_debugging">While USB debugging</string>
+ <string name="keep_screen_on_charging">While charging</string>
</resources>