summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-09-19 16:21:25 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-09-19 16:21:25 +0000
commite8f375911c3452249db43005b52781f60b9054e1 (patch)
tree9999275e8bd7a5447b72c9aa36932ceeeaa58b95 /libs/androidfw/StringPool.cpp
parent7b4ab3173415d467b86a77607e87274577966260 (diff)
Notify transition ready for player before taking snapshot
So SnapshotController and shell's onTransitionReady can run in parallel. That reduces the latency before starting the animator. Theoretically, the binder transmission time of transition info is usually enough to complete the snapshot. However, even if hardcoding hundreds millisecond to delay the snapshot until the transition is finished, the snapshot is still captured successfully, so it should be safe to reorder. Bug: 279437990 Bug: 297493149 Test: TransitionTests#testTransientLaunch KeyboardVisibilityControlTest Test: Disable animation. Launch/back between different tasks. The valid snapshot of the closed task can still be shown in recent. Change-Id: Id3cc1cc47412c098c8c8e8d63a09367772527400
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions