summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-04-01 00:22:27 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-04-01 06:35:14 +0000
commit325c57bb61ecbbf194781da343bac59c1e479734 (patch)
tree3e935ae6d1aa91af57b9ef346537478a70d90241 /libs/input/PointerController.cpp
parentf7260037b7829ac4ff06b691470f2ce876431805 (diff)
Skip window exit animation if display has transition
While shell transition is enabled, since change [1], it also considers parent transition. And because display rotation is transition with shell transition, all windows are unable to remove while rotating display. Then if an activity is relaunched for the configuration change, its old window will also appear in the animation, which looks weird. Because the window removal transaction should be applied with shell start transaction to perform a display level animation, so the exit animations are unnecessary. [1]: I5a4f6fcdf16c5ce40298385d2153e108f43378f2 Bug: 227327391 Test: adb shell setprop persist.wm.debug.shell_transit 1; reboot Set animation scale to 10x and rotate device. atest ChangeAppRotationTest Change-Id: I2d9eb308aaa5d7853e833a022ca5cced99da922e
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions