Merge "Don't always suppres redraw report request in relayout" into tm-qpr-dev am: ab64c59f67
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20290965 Change-Id: Ic684700c05a981e775b553101c65e131c208d2ba Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -6113,8 +6113,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
||||
if (mRedrawForSyncReported) {
|
||||
return false;
|
||||
}
|
||||
// TODO(b/233286785): Remove mIsWallpaper once WallpaperService handles syncId of relayout.
|
||||
if (mInRelayout && !mIsWallpaper) {
|
||||
if (mInRelayout && mPrepareSyncSeqId > 0) {
|
||||
// The last sync seq id will return to the client, so there is no need to request the
|
||||
// client to redraw.
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user