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

Commit 7979379f authored by Chris Li's avatar Chris Li Committed by Android (Google) Code Review
Browse files

Merge "Fix EnterPipToOtherOrientation failure" into main

parents 5a776781 a40a3b0f
Loading
Loading
Loading
Loading
+12 −19
Original line number Diff line number Diff line
@@ -3782,10 +3782,6 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                }
                EventLogTags.writeWmEnterPip(r.mUserId, System.identityHashCode(r),
                        r.shortComponentName, Boolean.toString(isAutoEnter));

                // Ensure the ClientTransactionItems are bundled for this operation.
                deferWindowLayout();
                try {
                r.setPictureInPictureParams(params);
                r.mAutoEnteringPip = isAutoEnter;
                mRootWindowContainer.moveActivityToPinnedRootTask(r,
@@ -3798,9 +3794,6 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                            "auto-pip");
                }
                r.mAutoEnteringPip = false;
                } finally {
                    continueWindowLayout();
                }
            }
        };