diff options
author | Irfan Sheriff <isheriff@google.com> | 2012-10-09 17:08:39 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2012-10-09 17:13:37 -0700 |
commit | 17cf1f2bbc3f7d4f367dbbee935d2939957c0ef6 (patch) | |
tree | 3f9f3ff70bc906593b1aed196c62d258f527915a | |
parent | f545660dcb54f90ad6a79ef0d7dccb509dc69017 (diff) | |
download | frameworks_base-17cf1f2bbc3f7d4f367dbbee935d2939957c0ef6.zip frameworks_base-17cf1f2bbc3f7d4f367dbbee935d2939957c0ef6.tar.gz frameworks_base-17cf1f2bbc3f7d4f367dbbee935d2939957c0ef6.tar.bz2 |
Fix build
had local changes from b/7318044
Change-Id: Idc6907d648a07d36f93dee859e361e9655cdd8e6
-rw-r--r-- | wifi/java/android/net/wifi/WifiWatchdogStateMachine.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java b/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java index 97a3b33..9c727f9 100644 --- a/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java +++ b/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java @@ -98,6 +98,8 @@ public class WifiWatchdogStateMachine extends StateMachine { static final int POOR_LINK_DETECTED = BASE + 21; static final int GOOD_LINK_DETECTED = BASE + 22; + public static final boolean DEFAULT_POOR_NETWORK_AVOIDANCE_ENABLED = false; + /* * RSSI levels as used by notification icon * Level 4 -55 <= RSSI @@ -440,7 +442,8 @@ public class WifiWatchdogStateMachine extends StateMachine { mPoorNetworkDetectionEnabled = false; } else { mPoorNetworkDetectionEnabled = getSettingsGlobalBoolean(mContentResolver, - Settings.Global.WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED, false); + Settings.Global.WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED, + DEFAULT_POOR_NETWORK_AVOIDANCE_ENABLED); } } |