summaryrefslogtreecommitdiffstats
path: root/res/xml/wifi_settings.xml
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2011-01-28 16:42:33 -0800
committerIrfan Sheriff <isheriff@google.com>2011-01-28 17:00:37 -0800
commit7bdf0e73d051f176fbc20451761eb50177d69f91 (patch)
treed892c40ccb2d04365f39caec6f0282ce9bb28434 /res/xml/wifi_settings.xml
parent46f4b754e1173cfc7065df39311ab5c30f92ed60 (diff)
downloadpackages_apps_Settings-7bdf0e73d051f176fbc20451761eb50177d69f91.tar.gz
packages_apps_Settings-7bdf0e73d051f176fbc20451761eb50177d69f91.tar.bz2
packages_apps_Settings-7bdf0e73d051f176fbc20451761eb50177d69f91.zip
Move sleep policy to main settings page
Bug: 3404049 Change-Id: I091abd737894a4adb9ebfc08b8e63bc3224b971c
Diffstat (limited to 'res/xml/wifi_settings.xml')
-rw-r--r--res/xml/wifi_settings.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/xml/wifi_settings.xml b/res/xml/wifi_settings.xml
index 9433c059d..24f443265 100644
--- a/res/xml/wifi_settings.xml
+++ b/res/xml/wifi_settings.xml
@@ -30,6 +30,15 @@
android:summary="@string/wifi_notify_open_networks_summary"
android:persistent="false" />
+ <ListPreference
+ android:key="sleep_policy"
+ android:title="@string/wifi_setting_sleep_policy_title"
+ android:summary="@string/wifi_setting_sleep_policy_summary"
+ android:persistent="false"
+ android:entries="@array/wifi_sleep_policy_entries"
+ android:entryValues="@array/wifi_sleep_policy_values"
+ />
+
<com.android.settings.ProgressCategory
android:key="access_points"
android:dependency="enable_wifi"