summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2012-10-09 17:08:39 -0700
committerIrfan Sheriff <isheriff@google.com>2012-10-09 17:13:37 -0700
commit17cf1f2bbc3f7d4f367dbbee935d2939957c0ef6 (patch)
tree3f9f3ff70bc906593b1aed196c62d258f527915a /wifi
parentf545660dcb54f90ad6a79ef0d7dccb509dc69017 (diff)
downloadframeworks_base-17cf1f2bbc3f7d4f367dbbee935d2939957c0ef6.zip
frameworks_base-17cf1f2bbc3f7d4f367dbbee935d2939957c0ef6.tar.gz
frameworks_base-17cf1f2bbc3f7d4f367dbbee935d2939957c0ef6.tar.bz2
Fix build
had local changes from b/7318044 Change-Id: Idc6907d648a07d36f93dee859e361e9655cdd8e6
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiWatchdogStateMachine.java5
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);
}
}