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

Commit 724417d8 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...

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

Change-Id: I9b78286e59686c769259b8a4729277190b6df3b6
parents 04af28d5 d6bbffc2
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());