diff options
| author | 2021-12-23 10:43:29 -0500 | |
|---|---|---|
| committer | 2022-01-04 17:44:59 +0000 | |
| commit | 6f86fbef87639b3f93c1ffad401be06a42e4779e (patch) | |
| tree | acc0b2d08657fb759bcee9501b576520a630a40b | |
| parent | 7fa6c03fdb922e772c940bfe9ef4ad4b32da2822 (diff) | |
Wake-up device before showing bouncer from AoD
Test: manual
Fixes: 211567896
Change-Id: I83f17c1cd128c2bb94a9adbede1881d194f6bf21
Merged-In: I83f17c1cd128c2bb94a9adbede1881d194f6bf21
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/BiometricUnlockController.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/BiometricUnlockController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/BiometricUnlockController.java index ad1c23283912..98b5dcc25730 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/BiometricUnlockController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/BiometricUnlockController.java @@ -645,7 +645,7 @@ public class BiometricUnlockController extends KeyguardUpdateMonitorCallback imp if (biometricSourceType.equals(BiometricSourceType.FINGERPRINT) && mUpdateMonitor.isUdfpsSupported() && mNumConsecutiveFpFailures >= FP_ATTEMPTS_BEFORE_SHOW_BOUNCER) { - mKeyguardViewController.showBouncer(true); + startWakeAndUnlock(MODE_SHOW_BOUNCER); UI_EVENT_LOGGER.log(BiometricUiEvent.BIOMETRIC_BOUNCER_SHOWN); mNumConsecutiveFpFailures = 0; } @@ -668,7 +668,8 @@ public class BiometricUnlockController extends KeyguardUpdateMonitorCallback imp && mUpdateMonitor.isUdfpsSupported() && (mStatusBarStateController.getState() == StatusBarState.SHADE || mStatusBarStateController.getState() == StatusBarState.SHADE_LOCKED)) { - mKeyguardViewController.showBouncer(true); + startWakeAndUnlock(MODE_SHOW_BOUNCER); + UI_EVENT_LOGGER.log(BiometricUiEvent.BIOMETRIC_BOUNCER_SHOWN); } cleanup(); } |