Merge "Fix enabling of submit button" into honeycomb-LTE
This commit is contained in:
committed by
Android (Google) Code Review
commit
a6f178a817
@@ -271,13 +271,11 @@ public class WifiConfigController implements TextWatcher,
|
|||||||
(mAccessPointSecurity == AccessPoint.SECURITY_PSK && mPasswordView.length() < 8)))) {
|
(mAccessPointSecurity == AccessPoint.SECURITY_PSK && mPasswordView.length() < 8)))) {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
} else {
|
} else {
|
||||||
enabled = true;
|
if (ipAndProxyFieldsAreValid()) {
|
||||||
}
|
enabled = true;
|
||||||
|
} else {
|
||||||
if (ipAndProxyFieldsAreValid()) {
|
enabled = false;
|
||||||
enabled = true;
|
}
|
||||||
} else {
|
|
||||||
enabled = false;
|
|
||||||
}
|
}
|
||||||
submit.setEnabled(enabled);
|
submit.setEnabled(enabled);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user