summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-01-03 18:53:15 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-01-12 14:27:09 +0000
commit19c7260b395467a22e0c883d8d1bc929ce697d91 (patch)
treeb69222d50dc607a3f212c581b1645793740a94b7 /libs/input/PointerController.cpp
parent1b31769f4b75553a8bdab1e316aabe6c29649576 (diff)
Make sure that animation leash is removed with window container
Unlike ActivityRecord and WindowState, the general window container doesn't clean up its animation for removal. So if the container is removed while animating, the animation leash surface may be leaked. One case is that when rotating display with a short life window such as Toast, the the leash created by FadeRotationAnimationController may remain on DisplayArea (the parent of WindowToken). Bug: 212483446 Test: atest WindowContainerTests#testRemoveImmediatelyClearsLeash Change-Id: I1b4833b14a3c6c4ea1338156f5bfd7bf475645d1
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions