Loading wifi/java/android/net/wifi/WifiWatchdogStateMachine.java +4 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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); } } Loading Loading
wifi/java/android/net/wifi/WifiWatchdogStateMachine.java +4 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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); } } Loading