Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98ec23dc authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix incorrect SID matching for bio prompts" into sc-v2-dev

parents 990528e9 8f2b1ec0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -89,7 +89,7 @@ abstract class KeyStoreCryptoOperationUtils {
        // specific sensor (the one that hasn't changed), and 2) currently the only
        // specific sensor (the one that hasn't changed), and 2) currently the only
        // signal to developers is the UserNotAuthenticatedException, which doesn't
        // signal to developers is the UserNotAuthenticatedException, which doesn't
        // indicate a specific sensor.
        // indicate a specific sensor.
        boolean canUnlockViaBiometrics = true;
        boolean canUnlockViaBiometrics = biometricSids.length > 0;
        for (long sid : biometricSids) {
        for (long sid : biometricSids) {
            if (!keySids.contains(sid)) {
            if (!keySids.contains(sid)) {
                canUnlockViaBiometrics = false;
                canUnlockViaBiometrics = false;