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

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

Add the leaf task to the recents animation target

- The root task in splitscreen is the secondary shell root

Change-Id: I298c846ef813fff5a1bfff8087a45054ff8957d7
Bug: 157624680
Test: Quickswitch in fullscreen and in splitscreen
parent 7d4bad92
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3510,7 +3510,7 @@ class Task extends WindowContainer<WindowContainer> {
                ProtoLog.d(WM_DEBUG_RECENTS_ANIMATIONS,
                        "applyAnimationUnchecked, control: %s, task: %s, transit: %s",
                        control, asTask(), AppTransition.appTransitionToString(transit));
                control.addTaskToTargets(getRootTask(), finishedCallback);
                control.addTaskToTargets(this, finishedCallback);
            }
        } else {
            super.applyAnimationUnchecked(lp, enter, transit, isVoiceInteraction, finishedCallback);