summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Seigo Nonaka <nona@google.com> 2022-09-08 18:03:04 +0900
committer Seigo Nonaka <nona@google.com> 2022-09-08 18:03:04 +0900
commit9a13cec9a1641c7c3b5e543fd37149154d06ee5d (patch)
tree7eb9f4d5bbbb0158d23128cfec6b37597a2bb3bf /libs/androidfw/Util.cpp
parent266bef461710c921ee79de4ba810d7ae3ae4cd47 (diff)
Cancel selection animation when new selection arrives
The onAnimationEnd callback will set the selection but there is a race condition that the new selection may arrive during animation. The later selection should be honored, so cancel the ongoing animation before starting new selection. Bug: 244273440 Test: Manually done on the Pixel 5 with wireless mouse Change-Id: I977f6cc9244e571caddfe0d79e10ee1c6c8a413d
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions