Merge "Fix operation auth bound keys." am: b3671c4ab5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677200 Change-Id: I25a5f2d933e3bdb97057b2dd470213538f5f5c06
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