OSDN Git Service

Disable wifiwatchdog for now
authorIrfan Sheriff <isheriff@google.com>
Tue, 6 Dec 2011 19:20:30 +0000 (11:20 -0800)
committerIrfan Sheriff <isheriff@google.com>
Tue, 6 Dec 2011 19:21:22 +0000 (11:21 -0800)
Change-Id: I2ac4fa706f3d0a415cb8e86002173b776aba4e02

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

index b4cbd01..9769718 100644 (file)
@@ -383,7 +383,9 @@ public class WifiWatchdogStateMachine extends StateMachine {
     }
 
     private boolean isWatchdogEnabled() {
-        return getSettingsBoolean(mContentResolver, Settings.Secure.WIFI_WATCHDOG_ON, true);
+        //return getSettingsBoolean(mContentResolver, Settings.Secure.WIFI_WATCHDOG_ON, true);
+        //TODO: fix this when we do aggressive monitoring
+        return false;
     }
 
     private void updateSettings() {