Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81da4884 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Fix NPE

Bug: 5953080
Change-Id: I1ff5b8a878f8f0d2fd9c6da549804aa454db444c
parent 31c5ec82
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -274,8 +274,9 @@ public class WifiConfigController implements TextWatcher,
    void enableSubmitIfAppropriate() {
        Button submit = mConfigUi.getSubmitButton();
        if (submit == null) return;
        boolean enabled = false;
        if (mPasswordView == null) return;

        boolean enabled = false;
        boolean passwordInvalid = false;

        /* Check password invalidity for manual network set up alone */