am 60e57143
: Missing Forget button after doing Add Network on an AP in the scanned list
Merge commit '60e5714311f4ec6d0135397b2beeb5dd511cf318' into eclair-mr2-plus-aosp * commit '60e5714311f4ec6d0135397b2beeb5dd511cf318': Missing Forget button after doing Add Network on an AP in the scanned list
This commit is contained in:
@@ -632,15 +632,18 @@ public class AccessPointDialog extends AlertDialog implements DialogInterface.On
|
||||
updateEnterpriseFields();
|
||||
}
|
||||
|
||||
/* AP state on the current scan list needs update to enable "Forget" capability */
|
||||
mWifiLayer.getWifiLayerApInstance(mState).setConfigured(true);
|
||||
|
||||
if (!mWifiLayer.saveNetwork(mState)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Connect right away if they've touched it
|
||||
if (!mWifiLayer.connectToNetwork(mState)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private int getSelectionIndex(String[] array, String selection) {
|
||||
|
Reference in New Issue
Block a user