Merge "Fix test failure due to hanging layout" into sc-v2-dev
This commit is contained in:
@@ -250,10 +250,10 @@ class WindowStateAnimator {
|
|||||||
// away.
|
// away.
|
||||||
if (mLastHidden && mDrawState != NO_SURFACE && !forceApplyNow) {
|
if (mLastHidden && mDrawState != NO_SURFACE && !forceApplyNow) {
|
||||||
mPostDrawTransaction.merge(postDrawTransaction);
|
mPostDrawTransaction.merge(postDrawTransaction);
|
||||||
layoutNeeded = true;
|
|
||||||
} else {
|
} else {
|
||||||
mWin.getSyncTransaction().merge(postDrawTransaction);
|
mWin.getSyncTransaction().merge(postDrawTransaction);
|
||||||
}
|
}
|
||||||
|
layoutNeeded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return layoutNeeded;
|
return layoutNeeded;
|
||||||
|
|||||||
Reference in New Issue
Block a user