Merge "Apply the last recents animation transform on single-activity PIP tasks" into sc-qpr1-dev am: 731c558ec1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16019499 Change-Id: Ifc3d501e498e8e2739f431fc21c33b0353bb195e
This commit is contained in:
@@ -2125,6 +2125,9 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
|
|||||||
final Task rootTask;
|
final Task rootTask;
|
||||||
if (singleActivity) {
|
if (singleActivity) {
|
||||||
rootTask = task;
|
rootTask = task;
|
||||||
|
|
||||||
|
// Apply the last recents animation leash transform to the task entering PIP
|
||||||
|
rootTask.maybeApplyLastRecentsAnimationTransaction();
|
||||||
} else {
|
} else {
|
||||||
// In the case of multiple activities, we will create a new task for it and then
|
// 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
|
// move the PIP activity into the task. Note that we explicitly defer the task
|
||||||
|
|||||||
Reference in New Issue
Block a user