diff options
Diffstat (limited to 'res/values/arrays.xml')
-rw-r--r-- | res/values/arrays.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 2a51d27..0f0334c 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -121,5 +121,26 @@ <!-- WEP key that is in hexadecimal. --> <item>WEP hexadecimal</item> </string-array> + + <!-- Wi-Fi settings. Presented as a list dialog to the user to choose the Wi-Fi sleep policy. --> + <string-array name="wifi_sleep_policy_entries"> + <!-- Wi-Fi should go to sleep when the screen turns off. --> + <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</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"> + <!-- Do not translate. --> + <item>0</item> + <!-- Do not translate. --> + <item>1</item> + <!-- Do not translate. --> + <item>2</item> + </string-array> </resources> |