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

Commit 46170435 authored by Ikram Gabiyev's avatar Ikram Gabiyev Committed by Android (Google) Code Review
Browse files

Merge "[PiP2] Collect PiP candidate parent before request" into main

parents 89028420 02285f10
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4139,6 +4139,10 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                    // Shell handles the request; see task supervisor's
                    // processStoppingAndFinishingActivities.
                    enterPipTransition.collect(r);
                    // Collecting the current task of the PiP-candidate activity prevents
                    // WindowAnimator from updating its surface visibility until the potential
                    // PiP transition formally starts.
                    enterPipTransition.collect(r.getTask());
                    getTransitionController().requestStartTransition(enterPipTransition,
                            r.getTask(), null /* remoteTransition */, null /* displayChange */);
                    // can run during finish, so partial