summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorIsaac Levy <ilevy@google.com>2011-07-27 08:00:03 -0700
committerIrfan Sheriff <isheriff@google.com>2011-08-05 20:45:08 -0700
commit8dc6a1b2823f374a176fb21b8a174664a5f825fa (patch)
treeeeb04170d38361b192670d2740ee9509e2283a2c /services
parent9ea31639738e8d2c90dc3a4fcd535d09a0b7209a (diff)
downloadframeworks_base-8dc6a1b2823f374a176fb21b8a174664a5f825fa.zip
frameworks_base-8dc6a1b2823f374a176fb21b8a174664a5f825fa.tar.gz
frameworks_base-8dc6a1b2823f374a176fb21b8a174664a5f825fa.tar.bz2
Watchdog notify on explicit connect
Notifies when user explicitly clicks on wifi dialog. Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/WifiService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/java/com/android/server/WifiService.java b/services/java/com/android/server/WifiService.java
index 242a93d..a80a2b8 100644
--- a/services/java/com/android/server/WifiService.java
+++ b/services/java/com/android/server/WifiService.java
@@ -289,6 +289,10 @@ public class WifiService extends IWifiManager.Stub {
mWifiStateMachine.startWps(msg.replyTo, (WpsConfiguration)msg.obj);
break;
}
+ case WifiManager.CMD_DISABLE_NETWORK: {
+ mWifiStateMachine.disableNetwork(msg.replyTo, msg.arg1, msg.arg2);
+ break;
+ }
default: {
Slog.d(TAG, "WifiServicehandler.handleMessage ignoring msg=" + msg);
break;