From 815a7f8adb3f979b0ba8d342d290c6454739b552 Mon Sep 17 00:00:00 2001 From: Beverly Date: Mon, 18 Oct 2021 13:05:42 -0400 Subject: [PATCH] Show bouncer from AOD on udfps-longpress if fp isn't running Instead of relying on the gesture detection on the lock icon which may not trigger the bouncer if the gesture detection algo didn't detect a longpress. We don't need to double-check because the wake-up udfps-longpress should already have determined a successful longpress to trigger the bouncer. Test: manually reboot device with udfps and try fp from AOD Fixes: 202567596 Change-Id: Ia14207907761ae4d61bbba026c2e3bd146de891a --- .../src/com/android/systemui/biometrics/UdfpsController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsController.java b/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsController.java index 594a642f33bbe..fded886ffe6ca 100644 --- a/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsController.java +++ b/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsController.java @@ -882,6 +882,7 @@ public class UdfpsController implements DozeReceiver { } if (!mKeyguardUpdateMonitor.isFingerprintDetectionRunning()) { + mKeyguardViewManager.showBouncer(true); return; }