Merge "Avoid extra force-relayout for sync" into tm-qpr-dev

This commit is contained in:
Riddle Hsu
2022-05-09 06:03:05 +00:00
committed by Android (Google) Code Review

View File

@@ -6043,6 +6043,11 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
if (mRedrawForSyncReported) {
return false;
}
if (mInRelayout) {
// The last sync seq id will return to the client, so there is no need to request the
// client to redraw.
return false;
}
return useBLASTSync();
}