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

Commit 486fc9dc authored by Peter Qiu's avatar Peter Qiu
Browse files

wifi: WifiConfigController: fix possible NPE in showSecurityFields

Bug: 64438040
Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=WifiConfigControllerTest

Change-Id: I2ddc5c07a3c95cba91cef532dc2c84529146d100
parent f1398725
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -851,7 +851,7 @@ public class WifiConfigController implements TextWatcher,
            mEapIdentityView = (TextView) mView.findViewById(R.id.identity);
            mEapAnonymousView = (TextView) mView.findViewById(R.id.anonymous);

            if (mAccessPoint.isCarrierAp()) {
            if (mAccessPoint != null && mAccessPoint.isCarrierAp()) {
                mEapMethodSpinner.setSelection(mAccessPoint.getCarrierApEapType());
            }