• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

修訂b9e4e1e26e897a71a71769b76344764c05709ed6 (tree)
時間2011-08-24 16:27:31
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

wifi: do not disable interface when network connection lost

Change Summary

差異

--- a/wifi/java/android/net/wifi/WifiStateTracker.java
+++ b/wifi/java/android/net/wifi/WifiStateTracker.java
@@ -1241,7 +1241,7 @@ public class WifiStateTracker extends NetworkStateTracker {
12411241
12421242 case EVENT_DEFERRED_DISCONNECT:
12431243 if (mWifiInfo.getSupplicantState() != SupplicantState.UNINITIALIZED) {
1244- handleDisconnectedState(DetailedState.DISCONNECTED, true);
1244+ handleDisconnectedState(DetailedState.DISCONNECTED, !SupplicantState.isValidState(mWifiInfo.getSupplicantState()));
12451245 }
12461246 break;
12471247