Merge "Fix operation auth bound keys." am: b3671c4ab5 am: f941d3fb5b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677200 Change-Id: Ia2c52ec3e34b067d61b605fd4bb0bcbc3b420e55
This commit is contained in:
@@ -18,7 +18,7 @@ package android.hardware.biometrics;
|
|||||||
|
|
||||||
import android.annotation.NonNull;
|
import android.annotation.NonNull;
|
||||||
import android.security.identity.IdentityCredential;
|
import android.security.identity.IdentityCredential;
|
||||||
import android.security.keystore.AndroidKeyStoreProvider;
|
import android.security.keystore2.AndroidKeyStoreProvider;
|
||||||
|
|
||||||
import java.security.Signature;
|
import java.security.Signature;
|
||||||
|
|
||||||
|
|||||||
@@ -62,10 +62,8 @@ public class AndroidKeyStoreProvider extends Provider {
|
|||||||
*/
|
*/
|
||||||
@UnsupportedAppUsage
|
@UnsupportedAppUsage
|
||||||
public static long getKeyStoreOperationHandle(Object cryptoPrimitive) {
|
public static long getKeyStoreOperationHandle(Object cryptoPrimitive) {
|
||||||
if (cryptoPrimitive == null) {
|
return android.security.keystore2.AndroidKeyStoreProvider
|
||||||
throw new NullPointerException();
|
.getKeyStoreOperationHandle(cryptoPrimitive);
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user