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:
TreeHugger Robot
2022-11-09 22:21:35 +00:00
committed by Automerger Merge Worker

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;