Merge "Fix PiP window on rotation" into rvc-dev am: 8e4db5802f
Change-Id: Ie6af91aa90a0b676f3641d2270fcba13dbbfc26c
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user