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

Commit e0ba9bb4 authored by Winson Chung's avatar Winson Chung
Browse files

Always cancel the ongoing recents transition when removing PIP

- Since launcher doesn't handle the closing of the PIP task, we
  should just end the ongoing transition

Fixes: 422660753
Flag: EXEMPT bugfix
Test: Enter overview with PIP, and then close the active PIP
Change-Id: Ia1bdb90cc3d4fa5b8139f7a3b0c72842703f6ce6
parent a3d673a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1013,7 +1013,7 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler,
                return;
            }

            if (info.getType() == TRANSIT_REMOVE_PIP && PipFlags.isPip2ExperimentEnabled()) {
            if (info.getType() == TRANSIT_REMOVE_PIP) {
                ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                        "[%d] RecentsController.merge: transit_remove_pip", mInstanceId);
                // Cancel the merge if transition is removing PiP; PiP is on top of everything else.