diff options
| author | 2022-11-09 22:09:31 +0000 | |
|---|---|---|
| committer | 2022-11-09 22:09:31 +0000 | |
| commit | ab64c59f67f032616de41dec66d4aee28549009d (patch) | |
| tree | 9df2fd544a42fe3dd0862c0a10e228361d7f9ff3 | |
| parent | 9e6c37ce19bfdc646ae59d25513e1cc9301eb05a (diff) | |
| parent | 1a721d6022d280e912a372759ef941f0314b3a0f (diff) | |
Merge "Don't always suppres redraw report request in relayout" into tm-qpr-dev
| -rw-r--r-- | services/core/java/com/android/server/wm/WindowState.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/WindowState.java b/services/core/java/com/android/server/wm/WindowState.java index d4c1abfa8d24..a42cec9c06fb 100644 --- a/services/core/java/com/android/server/wm/WindowState.java +++ b/services/core/java/com/android/server/wm/WindowState.java @@ -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; |