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

Commit e57319ff authored by Selim Gurun's avatar Selim Gurun
Browse files

Make the credential storage change action public.

Bug: 6009802

When the credential storage changes, (adding/removing certs,
resetting the storage, enabling/disabling trusted CAs, etc), the
applications that use the storage has to be made aware of the
fact that the storage changed, so they can clear any cached state,
close connections or take any other actions. Internally, this
applies to webview. However, applications, potentially including
3rd party browsers, also need this information.

Change-Id: I765b97a3f38f45247ee3f6e127b490388d373847
parent abfac6a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18780,6 +18780,7 @@ package android.security {
    method public static android.content.Intent createInstallIntent();
    method public static java.security.cert.X509Certificate[] getCertificateChain(android.content.Context, java.lang.String) throws java.lang.InterruptedException, android.security.KeyChainException;
    method public static java.security.PrivateKey getPrivateKey(android.content.Context, java.lang.String) throws java.lang.InterruptedException, android.security.KeyChainException;
    field public static final java.lang.String ACTION_STORAGE_CHANGED = "android.security.STORAGE_CHANGED";
    field public static final java.lang.String EXTRA_CERTIFICATE = "CERT";
    field public static final java.lang.String EXTRA_NAME = "name";
    field public static final java.lang.String EXTRA_PKCS12 = "PKCS12";
+0 −1
Original line number Diff line number Diff line
@@ -169,7 +169,6 @@ public final class KeyChain {


    /**
     * @hide TODO This is temporary and will be removed
     * Broadcast Action: Indicates the trusted storage has changed. Sent when
     * one of this happens:
     *