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

Commit 1a077d00 authored by Robin Lee's avatar Robin Lee
Browse files

Ignore any Recents changes while Keyguard is locked

Even if Recents started unlocked and Keyguard began showing later.
No more updates to the task list, just exit and let the next
transition handler deal with it.

Bug: 312567838
Change-Id: I61c85cb8296857f5c77df2323acdf53346530857
parent 57a83348
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -590,7 +590,7 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
                cancel("transit_sleep");
                return;
            }
            if (mKeyguardLocked) {
            if (mKeyguardLocked || (info.getFlags() & TRANSIT_FLAG_KEYGUARD_LOCKED) != 0) {
                ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                        "[%d] RecentsController.merge: keyguard is locked", mInstanceId);
                // We will not accept new changes if we are swiping over the keyguard.