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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user