diff options
author | Hasini Gunasinghe <hasinitg@google.com> | 2020-12-04 17:46:20 +0000 |
---|---|---|
committer | Hasini Gunasinghe <hasinitg@google.com> | 2021-01-19 14:41:03 +0000 |
commit | 5364fce8175c6345758597bfc406d424ca257b84 (patch) | |
tree | cfe06667f7065fa0ad8ca17f42f5cb1087293704 /keystore/java/android/security/KeyStore.java | |
parent | 3299d00b8728aa2e001253f20ddb2f3c8b92f565 (diff) |
Integrate IKeystoreAuthorization aidl's addAuthToken with Keystore SPI.
This CL introduces the Keystore SPI class for IKeystoreAuthorization
aidl interface and implements the calling code for addAuthToken method.
Bug: 166672367
Bug: 177830239
Bug: 177791435
Bug: 177787061
Bug: 177787180
Test: VTS test
Change-Id: I9f0adc97efadd0fa1a1f16dd5ec811f4151a2b03
Diffstat (limited to 'keystore/java/android/security/KeyStore.java')
-rw-r--r-- | keystore/java/android/security/KeyStore.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/keystore/java/android/security/KeyStore.java b/keystore/java/android/security/KeyStore.java index c70c986fcd6b..4a67135227dd 100644 --- a/keystore/java/android/security/KeyStore.java +++ b/keystore/java/android/security/KeyStore.java @@ -996,6 +996,7 @@ public class KeyStore { */ public int addAuthToken(byte[] authToken) { try { + new Authorization().addAuthToken(authToken); return mBinder.addAuthToken(authToken); } catch (RemoteException e) { Log.w(TAG, "Cannot connect to keystore", e); |