File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
wifi/java/android/net/wifi Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments