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

Commit 1623c9dc authored by Beverly's avatar Beverly
Browse files

Let non-face biometric auth transition to home

If face-auth + bypass is enabled, face-auth from the locked notification
shade shouldn't immediately transition to home. (flow preserved)

However, if face-auth + bypass is eabled and the user authenticates with
another biometric authentication method that is explicit (ie:
fingerprint), we should immediately transiton to home. (flow updated)

Test: manual
Fixes: 184366860
Change-Id: I04bfc9289982c7ffe3db89710923ca843551bb9b
parent c66d82c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ open class KeyguardBypassController : Dumpable {
        biometricSourceType: BiometricSourceType,
        isStrongBiometric: Boolean
    ): Boolean {
        if (bypassEnabled) {
        if (biometricSourceType == BiometricSourceType.FACE && bypassEnabled) {
            val can = canBypass()
            if (!can && (isPulseExpanding || qSExpanded)) {
                pendingUnlock = PendingUnlock(biometricSourceType, isStrongBiometric)