summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider/res
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2009-07-29 21:37:14 -0700
committerMike Lockwood <lockwood@android.com>2009-07-29 21:37:14 -0700
commitbd5ddf01e4d629982fa8bb667d4be7c5ec3aa79f (patch)
treed1e74b94e3b322c137e52f7514072e6d2309000f /packages/SettingsProvider/res
parent2ec556ddc840ae71cd1e618e593a6ce8555f5590 (diff)
downloadframeworks_base-bd5ddf01e4d629982fa8bb667d4be7c5ec3aa79f.zip
frameworks_base-bd5ddf01e4d629982fa8bb667d4be7c5ec3aa79f.tar.gz
frameworks_base-bd5ddf01e4d629982fa8bb667d4be7c5ec3aa79f.tar.bz2
Wifi: Add support for enabling Wifi while in airplane mode.
If the new system settings value for AIRPLANE_MODE_TOGGLEABLE_RADIOS contains RADIO_WIFI, then the user will be allowed to enable Wifi while in airplane mode. Turning on airplane mode will still disable Wifi, but the user will be free to reenable it in the Settings app. Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'packages/SettingsProvider/res')
-rw-r--r--packages/SettingsProvider/res/values/defaults.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml
index c33bdd7..6b20445 100644
--- a/packages/SettingsProvider/res/values/defaults.xml
+++ b/packages/SettingsProvider/res/values/defaults.xml
@@ -22,6 +22,7 @@
<bool name="def_airplane_mode_on">false</bool>
<!-- Comma-separated list of bluetooth, wifi, and cell. -->
<string name="def_airplane_mode_radios" translatable="false">cell,bluetooth,wifi</string>
+ <string name="airplane_mode_toggleable_radios" translatable="false">wifi</string>
<bool name="def_auto_time">true</bool>
<bool name="def_accelerometer_rotation">true</bool>
<!-- Default screen brightness, from 0 to 255. 102 is 40%. -->