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

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

Merge "Update the PiP ActivityRecord with new PiP params" into main

parents e0bd8459 79a8e2be
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3771,6 +3771,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
            // Shell calls back into Core with the entry bounds to be applied with startWCT.
            // Shell calls back into Core with the entry bounds to be applied with startWCT.
            final Transition enterPipTransition = new Transition(TRANSIT_PIP,
            final Transition enterPipTransition = new Transition(TRANSIT_PIP,
                    0 /* flags */, getTransitionController(), mWindowManager.mSyncEngine);
                    0 /* flags */, getTransitionController(), mWindowManager.mSyncEngine);
            r.setPictureInPictureParams(params);
            enterPipTransition.setPipActivity(r);
            enterPipTransition.setPipActivity(r);
            r.mAutoEnteringPip = isAutoEnter;
            r.mAutoEnteringPip = isAutoEnter;
            getTransitionController().startCollectOrQueue(enterPipTransition, (deferred) -> {
            getTransitionController().startCollectOrQueue(enterPipTransition, (deferred) -> {