summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-01-11 00:01:35 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-01-11 18:53:05 +0800
commit502e63611906e2e6b71cee31b6e0c7dfa8124a6a (patch)
tree34eb854885c8e3e435c85ca09d856b2dc8a2894b /libs/input/PointerController.cpp
parentf7a526b93bb7f1e41aa7eba83404209a37ba19b2 (diff)
Only notify prepare-surface callback from window animator
Since the surface operations are centralized to window animator, the operations that expect to run after transaction applied should also be only executed by window animator. Otherwise there could be a race: system-relayout: T1 shows the surface and sends surface to client. client: T2 applies hide. system-vsync: T1 is merged to T0, T0 is applied. -> expected hide but got overridden to show. Bug: 318760302 Test: Disable animation and launch an app which requests to hide status bar. Keep switching between the app and home. Check that when the app is on top, the status bar is hidden. Change-Id: Ic6f99be2907690fa955f6cfb424c4d0f68abf004
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions