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

Commit 3de193a9 authored by Winson Chung's avatar Winson Chung Committed by Automerger Merge Worker
Browse files

Merge "Apply the last recents animation transform on single-activity PIP...

Merge "Apply the last recents animation transform on single-activity PIP tasks" into sc-qpr1-dev am: 731c558e am: 811fc874

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16019499

Change-Id: I8f7a50a1a71c8a7343a584172ec55395ee0e63f8
parents 7fafe71f 811fc874
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2151,6 +2151,9 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
            final Task rootTask;
            if (singleActivity) {
                rootTask = task;

                // Apply the last recents animation leash transform to the task entering PIP
                rootTask.maybeApplyLastRecentsAnimationTransaction();
            } else {
                // In the case of multiple activities, we will create a new task for it and then
                // move the PIP activity into the task. Note that we explicitly defer the task