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
This commit is contained in:
@@ -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}.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user