Merge "Don't always suppres redraw report request in relayout" into tm-qpr-dev am: ab64c59f67 am: 27e2d65af1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20290965 Change-Id: I98b26814a0cbf3d9c3d77dfa7a5d4c333d617bca Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -6107,8 +6107,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