From 5364fce8175c6345758597bfc406d424ca257b84 Mon Sep 17 00:00:00 2001 From: Hasini Gunasinghe Date: Fri, 4 Dec 2020 17:46:20 +0000 Subject: 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 --- keystore/java/android/security/KeyStore.java | 1 + 1 file changed, 1 insertion(+) (limited to 'keystore/java/android/security/KeyStore.java') 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); -- cgit v1.2.3