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