Merge "Don't always suppres redraw report request in relayout" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2022-11-09 22:09:31 +00:00
committed by Android (Google) Code Review

View File

@@ -6113,8 +6113,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
if (mRedrawForSyncReported) { if (mRedrawForSyncReported) {
return false; return false;
} }
// TODO(b/233286785): Remove mIsWallpaper once WallpaperService handles syncId of relayout. if (mInRelayout && mPrepareSyncSeqId > 0) {
if (mInRelayout && !mIsWallpaper) {
// The last sync seq id will return to the client, so there is no need to request the // The last sync seq id will return to the client, so there is no need to request the
// client to redraw. // client to redraw.
return false; return false;