diff options
author | Irfan Sheriff <isheriff@google.com> | 2013-03-14 14:29:26 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2013-03-14 14:29:26 -0700 |
commit | e6db500b1050b4040e04926b5473cd6872cf71b4 (patch) | |
tree | 170ae407f1dc7f37d204fac77e85cb4646a5b907 /wifi/java/android | |
parent | 11aefad94de6569c4c7394e7bc5fdeb0ae60d5bb (diff) | |
download | frameworks_base-e6db500b1050b4040e04926b5473cd6872cf71b4.zip frameworks_base-e6db500b1050b4040e04926b5473cd6872cf71b4.tar.gz frameworks_base-e6db500b1050b4040e04926b5473cd6872cf71b4.tar.bz2 |
Fix msg argument usage
Change-Id: I5b38dcbae3918a1e8c828d6e246eadf520d06c06
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: |