Merge "Make sure updateSurface is called for rotation change" into tm-qpr-dev am: 0428d86493
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18400685 Change-Id: Ie64e10e3de3a5e8c84f3825a1f6ea01f528e94c1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1772,7 +1772,7 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mForceNextWindowRelayout = forceNextWindowRelayout;
|
mForceNextWindowRelayout |= forceNextWindowRelayout;
|
||||||
mPendingAlwaysConsumeSystemBars = args.argi2 != 0;
|
mPendingAlwaysConsumeSystemBars = args.argi2 != 0;
|
||||||
mSyncSeqId = args.argi4 > mSyncSeqId ? args.argi4 : mSyncSeqId;
|
mSyncSeqId = args.argi4 > mSyncSeqId ? args.argi4 : mSyncSeqId;
|
||||||
|
|
||||||
@@ -5233,6 +5233,9 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
// the buffers may still have content in previous rotation. And the next draw may
|
// the buffers may still have content in previous rotation. And the next draw may
|
||||||
// not update all regions, that causes some afterimages to flicker.
|
// not update all regions, that causes some afterimages to flicker.
|
||||||
mUpdateSurfaceNeeded = true;
|
mUpdateSurfaceNeeded = true;
|
||||||
|
if (!mIsInTraversal) {
|
||||||
|
mForceNextWindowRelayout = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Configuration globalConfig = mergedConfiguration.getGlobalConfiguration();
|
Configuration globalConfig = mergedConfiguration.getGlobalConfiguration();
|
||||||
|
|||||||
Reference in New Issue
Block a user