diff options
author | Max Bires <jbires@google.com> | 2019-10-11 13:24:56 -0700 |
---|---|---|
committer | Max Bires <jbires@google.com> | 2019-11-11 17:43:50 -0800 |
commit | b8ae22895c603e76a25fae721fee45a4e87c9a78 (patch) | |
tree | 35b0d1a9f07f3b0f91322dc88a1c68c006d1aac4 /keystore/java/android/security/KeyStore.java | |
parent | f9cb43d6ebf937bafbb4a9b5f4b2917d20d0931f (diff) |
Removing binder access to deprecated KeyStore function reset
This api call is not accessible from the java API and is intended to be
deprecated. This CL cleans up the potential to directly call into binder
and use this functionality.
Also cleans up imports to appease the repo hooks
Test: Android builds
Change-Id: I95b27a001a6d6ba6c7d1f952bdda456a78b7f99c
Diffstat (limited to 'keystore/java/android/security/KeyStore.java')
-rw-r--r-- | keystore/java/android/security/KeyStore.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/keystore/java/android/security/KeyStore.java b/keystore/java/android/security/KeyStore.java index 646aa13664c4..a85547a72eed 100644 --- a/keystore/java/android/security/KeyStore.java +++ b/keystore/java/android/security/KeyStore.java @@ -348,16 +348,6 @@ public class KeyStore { return list(prefix, UID_SELF); } - @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023) - public boolean reset() { - try { - return mBinder.reset() == NO_ERROR; - } catch (RemoteException e) { - Log.w(TAG, "Cannot connect to keystore", e); - return false; - } - } - /** * Attempt to lock the keystore for {@code user}. * |