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

Commit 6693a02a authored by Charlotte Lu's avatar Charlotte Lu
Browse files

Fix certX509 has not been initialized.

Test: Manual
Fix: 329243388
Change-Id: If9507f2aeddc1a5077a39246ac2af2f32b2b94bc
parent 458b942a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -72,7 +72,6 @@ class CertificateDetailsPreferenceController(context: Context, preferenceKey: St
    }

    private fun getCertX509(wifiEntry: WifiEntry): Boolean {
        if (certX509 != null ) return true
        certificateAliases =
            wifiEntry.wifiConfiguration?.enterpriseConfig?.caCertificateAliases?.get(0)
                ?: return false