summaryrefslogtreecommitdiffstats
path: root/res/values/arrays.xml
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2011-03-01 18:42:16 -0800
committerAmith Yamasani <yamasani@google.com>2011-03-02 10:36:31 -0800
commit967da9517f85be677750a63c8e6d6ff24955b4e2 (patch)
treebc9d4573e5a94c931cbc88b8ade2f77664d9d397 /res/values/arrays.xml
parent489c7bff5c54c35e7156a99337d538e08f3aab7f (diff)
downloadpackages_apps_Settings-967da9517f85be677750a63c8e6d6ff24955b4e2.zip
packages_apps_Settings-967da9517f85be677750a63c8e6d6ff24955b4e2.tar.gz
packages_apps_Settings-967da9517f85be677750a63c8e6d6ff24955b4e2.tar.bz2
Bring back Wi-Fi sleep policy setting for wifi-only devices.
Have a different set of strings, since we cannot mention mobile data for a wifi-only device. Bug: 3487952 Change-Id: I486315da40f15807f75d85d2a077a6b234a1e3d7
Diffstat (limited to 'res/values/arrays.xml')
-rw-r--r--res/values/arrays.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 3ef465a..6df4c90 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -313,6 +313,17 @@
<item>Never (uses more battery power)</item>
</string-array>
+ <!-- Wi-Fi settings. Presented as a list dialog to the user to choose the Wi-Fi sleep policy. Used when
+ the device is Wi-Fi-only. [CHAR LIMIT=30] -->
+ <string-array name="wifi_sleep_policy_entries_wifi_only">
+ <!-- Wi-Fi should go to sleep when the screen turns off, for Wi-Fi-only devices. -->
+ <item>When screen turns off</item>
+ <!-- When plugged in, never go to sleep. When on battery, go to sleep when screen turns off. -->
+ <item>Never when plugged in</item>
+ <!-- Never go to sleep. -->
+ <item>Never (uses more battery power)</item>
+ </string-array>
+
<!-- Match with wifi_sleep_policy_entries and the values of the settings in Settings class. --> <skip />
<!-- Do not translate. -->
<string-array name="wifi_sleep_policy_values">