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

Commit 3f1fb952 authored by Weng Su's avatar Weng Su Committed by Android (Google) Code Review
Browse files

Merge "Fix NullPointerException in WifiConfigController" into main

parents 6b951550 de77e7bf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -653,6 +653,9 @@ public class WifiConfigController implements TextWatcher,
            case AccessPoint.SECURITY_EAP:
            case AccessPoint.SECURITY_EAP_WPA3_ENTERPRISE:
            case AccessPoint.SECURITY_EAP_SUITE_B:
                if (mEapMethodSpinner == null || mPhase2Spinner == null) {
                    break;
                }
                if (mAccessPointSecurity == AccessPoint.SECURITY_EAP_SUITE_B) {
                    // allowedSuiteBCiphers will be set according to certificate type
                    config.setSecurityParams(WifiConfiguration.SECURITY_TYPE_EAP_SUITE_B);