fix add wifi network dialog
On changing security type with the spinner, the password/eap fields should change accordingly. Due to a bug with checking of the spinner, this was not happening. fix it. Bug: 1654928 Change-Id: I9bb174448694671206293ccdc380a9aad14a3f12
This commit is contained in:
@@ -447,7 +447,7 @@ public class WifiConfigController implements TextWatcher,
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
||||||
if (view == mSecuritySpinner) {
|
if (parent == mSecuritySpinner) {
|
||||||
mAccessPointSecurity = position;
|
mAccessPointSecurity = position;
|
||||||
showSecurityFields();
|
showSecurityFields();
|
||||||
enableSubmitIfAppropriate();
|
enableSubmitIfAppropriate();
|
||||||
|
Reference in New Issue
Block a user