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

Commit ec080ef1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix incorrect SID matching for bio prompts" am: 8d221843 am: 63a204f2 am: 22a5b5a0

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1908470

Change-Id: Ib656a239d8072414eba741c033e1661992a4a7e9
parents 29bccff6 22a5b5a0
Loading
Loading
Loading
Loading
+1 −1
Original line number 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
        // 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;