diff options
Diffstat (limited to 'wifi/java/android')
-rw-r--r-- | wifi/java/android/net/wifi/WifiWatchdogStateMachine.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java b/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java index 53e6b51..eb47a4a 100644 --- a/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java +++ b/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java @@ -587,8 +587,9 @@ public class WifiWatchdogStateMachine extends StateMachine { break; case EVENT_WIFI_RADIO_STATE_CHANGE: - if ((Integer) msg.obj == WifiManager.WIFI_STATE_DISABLING) + if (msg.arg1 == WifiManager.WIFI_STATE_DISABLING) { transitionTo(mNotConnectedState); + } break; default: |