summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-05-24 12:19:07 +0000
committer Riddle Hsu <riddlehsu@google.com> 2024-05-24 12:32:25 +0000
commite84dc7d4434fdd10f5ef746d39fe392392655113 (patch)
tree361a9931bff34ffb871400bb67e6dfc755d57c68 /libs/input/PointerController.cpp
parentd24f7b2d8eda762c5a5c4e242bc6fbd76ec75d65 (diff)
Pause insets position until its provider window is drawn
The extends Ibb25dc5735674e6618b5c639c4e2e61ffa678f52. Even if the start transaction of rotation transition is committed, the window may have not drawn with new rotation, which means that the unrotated transform still exists. If let client receive new position, the client may update the position of new rotation immediately but the token transform is still in old rotation. So by removing the condition "!mIsStartTransactionCommitted", the insets control client won't receive new position before the insets provider window is done with new rotation. Bug: 223396866 Test: SeamlessAppRotationTest Test: Enable auto rotation. Rotate camera app. The navigation bar can won't show on screen center. Change-Id: I2a886a6a04891a7bf09c1152e52a431326a80d03
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions