Merge "Fix PiP window on rotation" into rvc-dev
This commit is contained in:
@@ -884,8 +884,8 @@ class WindowStateAnimator {
|
|||||||
clipRect = mTmpClipRect;
|
clipRect = mTmpClipRect;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mSurfaceResized && (mAttrType == TYPE_BASE_APPLICATION) &&
|
if (w.mInRelayout && (mAttrType == TYPE_BASE_APPLICATION) && (task != null)
|
||||||
(task != null) && (task.getMainWindowSizeChangeTransaction() != null)) {
|
&& (task.getMainWindowSizeChangeTransaction() != null)) {
|
||||||
mSurfaceController.deferTransactionUntil(mWin.getClientViewRootSurface(),
|
mSurfaceController.deferTransactionUntil(mWin.getClientViewRootSurface(),
|
||||||
mWin.getFrameNumber());
|
mWin.getFrameNumber());
|
||||||
SurfaceControl.mergeToGlobalTransaction(task.getMainWindowSizeChangeTransaction());
|
SurfaceControl.mergeToGlobalTransaction(task.getMainWindowSizeChangeTransaction());
|
||||||
|
|||||||
Reference in New Issue
Block a user