Fix NPE
Bug: 5953080 Change-Id: I1ff5b8a878f8f0d2fd9c6da549804aa454db444c
This commit is contained in:
@@ -274,8 +274,9 @@ public class WifiConfigController implements TextWatcher,
|
|||||||
void enableSubmitIfAppropriate() {
|
void enableSubmitIfAppropriate() {
|
||||||
Button submit = mConfigUi.getSubmitButton();
|
Button submit = mConfigUi.getSubmitButton();
|
||||||
if (submit == null) return;
|
if (submit == null) return;
|
||||||
boolean enabled = false;
|
if (mPasswordView == null) return;
|
||||||
|
|
||||||
|
boolean enabled = false;
|
||||||
boolean passwordInvalid = false;
|
boolean passwordInvalid = false;
|
||||||
|
|
||||||
/* Check password invalidity for manual network set up alone */
|
/* Check password invalidity for manual network set up alone */
|
||||||
|
Reference in New Issue
Block a user