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

Commit 9c26a761 authored by Hongwei Wang's avatar Hongwei Wang Committed by Automerger Merge Worker
Browse files

Merge "Fix PiP window on rotation" into rvc-dev am: 8e4db580 am: 287570ab

Change-Id: I6af4b67e56d9f24b6c97ebc3ea85faba018754d0
parents 37b3453f 287570ab
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -884,8 +884,8 @@ class WindowStateAnimator {
            clipRect = mTmpClipRect;
        }

        if (mSurfaceResized && (mAttrType == TYPE_BASE_APPLICATION) &&
            (task != null) && (task.getMainWindowSizeChangeTransaction() != null)) {
        if (w.mInRelayout && (mAttrType == TYPE_BASE_APPLICATION) && (task != null)
                && (task.getMainWindowSizeChangeTransaction() != null)) {
            mSurfaceController.deferTransactionUntil(mWin.getClientViewRootSurface(),
                    mWin.getFrameNumber());
            SurfaceControl.mergeToGlobalTransaction(task.getMainWindowSizeChangeTransaction());