Skip to content

Commit 17cf1f2

Browse files
committed
Fix build
had local changes from b/7318044 Change-Id: Idc6907d648a07d36f93dee859e361e9655cdd8e6
1 parent f545660 commit 17cf1f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

wifi/java/android/net/wifi/WifiWatchdogStateMachine.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ public class WifiWatchdogStateMachine extends StateMachine {
9898
static final int POOR_LINK_DETECTED = BASE + 21;
9999
static final int GOOD_LINK_DETECTED = BASE + 22;
100100

101+
public static final boolean DEFAULT_POOR_NETWORK_AVOIDANCE_ENABLED = false;
102+
101103
/*
102104
* RSSI levels as used by notification icon
103105
* Level 4 -55 <= RSSI
@@ -440,7 +442,8 @@ private void updateSettings() {
440442
mPoorNetworkDetectionEnabled = false;
441443
} else {
442444
mPoorNetworkDetectionEnabled = getSettingsGlobalBoolean(mContentResolver,
443-
Settings.Global.WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED, false);
445+
Settings.Global.WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED,
446+
DEFAULT_POOR_NETWORK_AVOIDANCE_ENABLED);
444447
}
445448
}
446449

0 commit comments

Comments
 (0)