diff options
author | Irfan Sheriff <isheriff@google.com> | 2010-04-02 17:36:19 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2010-04-05 09:28:25 -0700 |
commit | 6e74d41bd0525459c43ed010e8f049ffc20ca362 (patch) | |
tree | 1576a6b3081af6c4ed6437e5e08b1cf39ab22ab9 | |
parent | af05891d31bf86e12910602be305a61fdcf1ace7 (diff) | |
download | packages_apps_Settings-6e74d41bd0525459c43ed010e8f049ffc20ca362.zip packages_apps_Settings-6e74d41bd0525459c43ed010e8f049ffc20ca362.tar.gz packages_apps_Settings-6e74d41bd0525459c43ed010e8f049ffc20ca362.tar.bz2 |
Fix network disable on connect
If we dont have an updated access point list
when we are re-enabling networks after connecting,
we could end up keeping some networks disabled.
This could happen if there is no event that
triggers an access point before enabling networks
Update the current access point list
right before enabling all networks.
Bug: 2567770
Change-Id: Ieb1ac8147d4acb05a6d13c44396653f0af94643d
-rw-r--r-- | src/com/android/settings/wifi/WifiSettings.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/settings/wifi/WifiSettings.java b/src/com/android/settings/wifi/WifiSettings.java index 0607b67..fe31316 100644 --- a/src/com/android/settings/wifi/WifiSettings.java +++ b/src/com/android/settings/wifi/WifiSettings.java @@ -445,6 +445,7 @@ public class WifiSettings extends PreferenceActivity implements DialogInterface. if (mResetNetworks && (state == DetailedState.CONNECTED || state == DetailedState.DISCONNECTED || state == DetailedState.FAILED)) { + updateAccessPoints(); enableNetworks(); } } |