Loading
Avoid requesting multiple sync for display rotation
Previously, collect(display) always requests all window prepare sync. And AsyncRotationController may request another sync by applyWithNextDraw, which may cause stale sync state and the window is unable to apply its draw transaction. Now the prepareSync from display will only sync the windows that AsyncRotationController doesn't handle. Bug: 234585256 Test: atest TransitionTests#testDisplayRotationChange Change-Id: I30639ee4566fc730d7016e1fed509f60dcaf8b59