diff options
| author | 2022-06-01 23:52:52 -0600 | |
|---|---|---|
| committer | 2022-06-02 15:47:24 +0800 | |
| commit | c0694d47e8f43ce8d4b0636007b86e32e2740e44 (patch) | |
| tree | 1e69cd8f07e48594eb14c1d7431e967cddd988b1 /libs/androidfw/StringPool.cpp | |
| parent | 1854ffeaff347bd4829018fae3c1e044365a9015 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions