diff options
author | Irfan Sheriff <isheriff@google.com> | 2011-01-11 17:26:41 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-01-11 17:26:41 -0800 |
commit | 282ef24a3aa3ecf14cf68892406daba0858b6fa4 (patch) | |
tree | 4e1876b019a0d06be765062bea13082cb195aec7 /src | |
parent | 89b32ab65d4d9a3d13a0dd16dd26b68f5baeb2bd (diff) | |
parent | 7f9413911d16d38484adbce0c786f39146612196 (diff) | |
download | packages_apps_settings-282ef24a3aa3ecf14cf68892406daba0858b6fa4.zip packages_apps_settings-282ef24a3aa3ecf14cf68892406daba0858b6fa4.tar.gz packages_apps_settings-282ef24a3aa3ecf14cf68892406daba0858b6fa4.tar.bz2 |
Merge "Change wifi sleep policy" into honeycomb
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/wifi/AdvancedSettings.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/wifi/AdvancedSettings.java b/src/com/android/settings/wifi/AdvancedSettings.java index 1968eb0..74948f0 100644 --- a/src/com/android/settings/wifi/AdvancedSettings.java +++ b/src/com/android/settings/wifi/AdvancedSettings.java @@ -66,7 +66,8 @@ public class AdvancedSettings extends SettingsPreferenceFragment ListPreference pref = (ListPreference) findPreference(KEY_SLEEP_POLICY); pref.setOnPreferenceChangeListener(this); int value = Settings.System.getInt(getContentResolver(), - Settings.System.WIFI_SLEEP_POLICY, Settings.System.WIFI_SLEEP_POLICY_DEFAULT); + Settings.System.WIFI_SLEEP_POLICY, + Settings.System.WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED); pref.setValue(String.valueOf(value)); pref = (ListPreference) findPreference(KEY_FREQUENCY_BAND); |