Merge "Fix incorrect SID matching for bio prompts" am: 8d221843b7 am: 63a204f231
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1908470 Change-Id: Ia0914bfef8ef44e0ab8c01cb92835619f0dc59c6
This commit is contained in:
@@ -89,7 +89,7 @@ abstract class KeyStoreCryptoOperationUtils {
|
||||
// specific sensor (the one that hasn't changed), and 2) currently the only
|
||||
// signal to developers is the UserNotAuthenticatedException, which doesn't
|
||||
// indicate a specific sensor.
|
||||
boolean canUnlockViaBiometrics = true;
|
||||
boolean canUnlockViaBiometrics = biometricSids.length > 0;
|
||||
for (long sid : biometricSids) {
|
||||
if (!keySids.contains(sid)) {
|
||||
canUnlockViaBiometrics = false;
|
||||
|
||||
Reference in New Issue
Block a user