diff options
author | phweiss <phweiss@google.com> | 2017-04-19 20:15:06 +0200 |
---|---|---|
committer | phweiss <phweiss@google.com> | 2017-05-05 19:03:29 +0200 |
commit | e375fc441cc889890d1cff5bc771039bb65f08ef (patch) | |
tree | 3723d89aebe8f973f72a57717c6ed25772d16ea9 /keystore/java/android/security/KeyChain.java | |
parent | 83abc4f26d470ed032d91c65c66eff71a2499f53 (diff) |
Implement CACert queries in SecurityController
Queries are run (on a AsyncTask) when user is switched and when
ACTION_TRUST_STORE_CHANGED is broadcasted. Otherwise, the result is cached
in the SecurityController.
Bug: 37535489
Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/SecurityControllerTest.java
Change-Id: I3b9cc3d85c9f49d0a892613b63d1fba184ab647e
Diffstat (limited to 'keystore/java/android/security/KeyChain.java')
-rw-r--r-- | keystore/java/android/security/KeyChain.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keystore/java/android/security/KeyChain.java b/keystore/java/android/security/KeyChain.java index ea804d0abea3..3fe730fdacba 100644 --- a/keystore/java/android/security/KeyChain.java +++ b/keystore/java/android/security/KeyChain.java @@ -599,9 +599,9 @@ public final class KeyChain { private final Context context; private final ServiceConnection serviceConnection; private final IKeyChainService service; - private KeyChainConnection(Context context, - ServiceConnection serviceConnection, - IKeyChainService service) { + protected KeyChainConnection(Context context, + ServiceConnection serviceConnection, + IKeyChainService service) { this.context = context; this.serviceConnection = serviceConnection; this.service = service; |