am a6f178a8
: Merge "Fix enabling of submit button" into honeycomb-LTE
* commit 'a6f178a817ec36d5cf6d6a3d9c19c73278f0c3ca': Fix enabling of submit button
This commit is contained in:
@@ -271,14 +271,12 @@ 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()) {
|
if (ipAndProxyFieldsAreValid()) {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
} else {
|
} else {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
submit.setEnabled(enabled);
|
submit.setEnabled(enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user