Fix certX509 has not been initialized.
Test: Manual Fix: 329243388 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6693a02a2bc9e589102b6a565083859993f3669a) Merged-In: If9507f2aeddc1a5077a39246ac2af2f32b2b94bc Change-Id: If9507f2aeddc1a5077a39246ac2af2f32b2b94bc
This commit is contained in:
committed by
Android Build Coastguard Worker
parent
35c3618c10
commit
2c232153e2
@@ -72,7 +72,6 @@ class CertificateDetailsPreferenceController(context: Context, preferenceKey: St
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun getCertX509(wifiEntry: WifiEntry): Boolean {
|
private fun getCertX509(wifiEntry: WifiEntry): Boolean {
|
||||||
if (certX509 != null ) return true
|
|
||||||
certificateAliases =
|
certificateAliases =
|
||||||
wifiEntry.wifiConfiguration?.enterpriseConfig?.caCertificateAliases?.get(0)
|
wifiEntry.wifiConfiguration?.enterpriseConfig?.caCertificateAliases?.get(0)
|
||||||
?: return false
|
?: return false
|
||||||
|
|||||||
Reference in New Issue
Block a user