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

Commit d5b19b73 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Wake-up after auth

It's necessary to wake-up if authenticating from AOD2, otherwise
the unlock animation will flash.

Test: manual
Test: atest BiometricsUnlockControllerTest
Fixes: 139036080
Change-Id: Ied84dfe5111f00af0069155da4ade8edbeeae9ed
parent 7be63cdb
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -448,9 +448,7 @@ public class BiometricUnlockController extends KeyguardUpdateMonitorCallback {
            } else if (!unlockingAllowed) {
                return bypass ? MODE_SHOW_BOUNCER : MODE_NONE;
            } else if (mDozeScrimController.isPulsing()) {
                // Let's not wake-up to lock screen when not bypassing, otherwise the notification
                // would move as the user tried to tap it.
                return bypass ? MODE_WAKE_AND_UNLOCK_PULSING : MODE_NONE;
                return bypass ? MODE_WAKE_AND_UNLOCK_PULSING : MODE_ONLY_WAKE;
            } else {
                if (bypass) {
                    // Wake-up fading out nicely