summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-06-24 08:28:08 +0000
committer Riddle Hsu <riddlehsu@google.com> 2024-06-24 09:32:10 +0000
commit8c1b977d4ea77a1e3c05bd2d5a18cd2800d37fa4 (patch)
treecc2e4ab8d69470af37bd1dbb4e8d3610c098da7b /libs/androidfw/FileStream.cpp
parent733b315abc81973d39a7db0c629bf661a0f1a482 (diff)
Unset sync group if sync state does not set
An extreme case when device is busy and slow, e.g. stress test by script or monkey, the AsyncRotationController could be null when calling TransitionController#collectForDisplayAreaChange, then WindowToken#prepareSync skips the async windows without setting sync state but sync group is still assigned. That results the WindowContainer#finishSync not cleaning the group. And its sync state of child windows will be set when calling isSyncFinished ("prepareSync in isSyncFinished"), which causes the window to always use sync transaction. Also add more log to indicate the corner cases. Bug: 334838294 Flag: EXEMPT bugfix Test: atest SyncEngineTests#testSkipPrepareSync Change-Id: I35f8a1aa728ee5b66e4e9d6136f9761ed6e989bf
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions