Merge "WindowState isSyncFinished should also check isVisibleRequested" into sc-v2-dev am: 1d0c96e853
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15993028 Change-Id: I847d2e4d3ad796fd51370dd424a6114de2fa43bc
This commit is contained in:
@@ -6050,7 +6050,8 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
||||
|
||||
@Override
|
||||
boolean isSyncFinished() {
|
||||
if (mSyncState == SYNC_STATE_WAITING_FOR_DRAW && mViewVisibility == View.GONE) {
|
||||
if (mSyncState == SYNC_STATE_WAITING_FOR_DRAW && mViewVisibility == View.GONE
|
||||
&& !isVisibleRequested()) {
|
||||
// Don't wait for GONE windows. However, we don't alter the state in case the window
|
||||
// becomes un-gone while the syncset is still active.
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user