Loading
Skip syncing draw for non seamless rotation window
To avoid multiple applyWithNextDraw consuming buffers, especially
for insets provider window.
Seamless rotation window may not be covered by the screenshot, such
as display cutout. Then it still needs to be synced as how legacy
transition did in WindowState#seamlesslyRotateIfAllowed.
Bug: 247856453
Test: Enable taskbar (adb shell wm size 2600x2200) and rotate screen
multiple times. No flicker and no ANR.
Change-Id: I51f85b481d65fb4f954fb75c8de6a3b9fc561971