Add support for wifi verification before connect
Change-Id: Ie1fb9c2fad4f75985077236eab61c296314f4fe4
This commit is contained in:
@@ -565,9 +565,10 @@ public class WifiSettings extends SettingsPreferenceFragment
|
||||
//network state change events so the apps dont have to worry about
|
||||
//ignoring supplicant state change when network is connected
|
||||
//to get more fine grained information.
|
||||
if (!mConnected.get()) {
|
||||
updateConnectionState(WifiInfo.getDetailedStateOf((SupplicantState)
|
||||
intent.getParcelableExtra(WifiManager.EXTRA_NEW_STATE)));
|
||||
SupplicantState state = (SupplicantState) intent.getParcelableExtra(
|
||||
WifiManager.EXTRA_NEW_STATE);
|
||||
if (!mConnected.get() && SupplicantState.isHandshakeState(state)) {
|
||||
updateConnectionState(WifiInfo.getDetailedStateOf(state));
|
||||
}
|
||||
|
||||
if (mInXlSetupWizard) {
|
||||
|
Reference in New Issue
Block a user