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

Commit 616b3fe9 authored by Chad Brubaker's avatar Chad Brubaker
Browse files

Dont use FLAG_ENCRYPT for certificates

Bug: 24966591
Change-Id: Iabe7946a3ef3e64b99f194b0c71c72eca99ea50b
parent 85cb9073
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -272,7 +272,7 @@ public final class CredentialStorage extends Activity {
            }
        }

        int flags = (uid == Process.WIFI_UID) ? KeyStore.FLAG_NONE : KeyStore.FLAG_ENCRYPTED;
        int flags = KeyStore.FLAG_NONE;

        if (bundle.containsKey(Credentials.EXTRA_USER_CERTIFICATE_NAME)) {
            String certName = bundle.getString(Credentials.EXTRA_USER_CERTIFICATE_NAME);