diff options
author | Altaf-Mahdi <altaf.mahdi@gmail.com> | 2015-04-15 19:03:00 +0100 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-26 16:12:35 -0700 |
commit | 8faf268f3404cb7f2a99fb952fcdc49dfbdd352a (patch) | |
tree | 6bd6bd2fae2efde825de4ebadb08e875c5cc1f4c /res/values/cm_arrays.xml | |
parent | f10a82bfca8032a3e4c4c4057aa873dddf6e4c7b (diff) | |
download | packages_apps_Settings-8faf268f3404cb7f2a99fb952fcdc49dfbdd352a.zip packages_apps_Settings-8faf268f3404cb7f2a99fb952fcdc49dfbdd352a.tar.gz packages_apps_Settings-8faf268f3404cb7f2a99fb952fcdc49dfbdd352a.tar.bz2 |
Settings: enable/disable doze through Profiles (2/2)
* moved isDozeAvailable boolean to Utils so we can check for it in profiles
Change-Id: I5a768098b4ed00b28931bee58a58efa8280262a1
Diffstat (limited to 'res/values/cm_arrays.xml')
-rw-r--r-- | res/values/cm_arrays.xml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml index 654a081..f709638 100644 --- a/res/values/cm_arrays.xml +++ b/res/values/cm_arrays.xml @@ -148,11 +148,17 @@ <item>1</item> </string-array> - <!-- Profile mode options. --> - <string-array name="profile_entries"> - <item>On</item> - <item>Off</item> - <item>No override</item> + <string-array name="profile_doze_entries" translatable="false"> + <item>@string/profile_action_none</item> + <item>@string/profile_action_enable</item> + <item>@string/profile_action_disable</item> + </string-array> + + <!-- Profile mode options. --> + <string-array name="profile_entries" translatable="false"> + <item>@string/profile_entries_on</item> + <item>@string/profile_entries_off</item> + <item>@string/profile_entries_no_override</item> </string-array> <!-- Values for vibrate_entries matching constants in SoundSettings. Do not translate. --> |