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
This commit is contained in:
Beverly
2021-10-18 13:05:42 -04:00
parent d43e521e9b
commit 815a7f8adb

View File

@@ -882,6 +882,7 @@ public class UdfpsController implements DozeReceiver {
}
if (!mKeyguardUpdateMonitor.isFingerprintDetectionRunning()) {
mKeyguardViewManager.showBouncer(true);
return;
}