summaryrefslogtreecommitdiff
path: root/libs/input/TouchSpotController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-04-10 17:54:02 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-05-06 08:34:18 +0000
commit22a770af055a011a47ea47e1f2f70a29558c5248 (patch)
tree1990bb267a052857122622033f4abab98df28af1 /libs/input/TouchSpotController.cpp
parent3bf7386dfea83aa949cf14ec6ec62465e71c3fb9 (diff)
Update insets position after rotation change is done
Otherwise because getWindowFrameSurfacePosition returns old position before the display rotation transform is applied, if the position doesn't update after the transform is done, it will show old position in new rotation around a few frames. Such as the handle of navigation bar may be flickering at screen center. Bug: 338091119 Test: atest TransitionTests#testAppTransitionWithRotationChange Merged-In: I21a0f10d4c83b6e7137ea0b389f2bbe1a4c82c2f Change-Id: I21a0f10d4c83b6e7137ea0b389f2bbe1a4c82c2f (cherry picked from commit a1d5520a09ed346a8047584e582c714901db4bc8)
Diffstat (limited to 'libs/input/TouchSpotController.cpp')
0 files changed, 0 insertions, 0 deletions