summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Shan Huang <shanh@google.com> 2022-08-08 23:38:52 +0000
committer Shan Huang <shanh@google.com> 2022-08-09 22:30:49 +0000
commit8698cfbae44dcc6bd61517984e288eda530bb7c5 (patch)
treee5ab058a17312791c839aeac3246b5c812c1ef62 /libs/androidfw/ResourceTimer.cpp
parent7c093004592cda3eff15bf1f89d33235a8803671 (diff)
Fix back to home animation restarts on a second swipe.
If a second swipe starts before a back to home animation finishes, it's possible for subsequent MOVE events to start another back animation. The fix is to only start back animation when the swipe's DOWN event is not rejected. Bug: 240109403 Fixes: 240109403 Test: Follow repro steps in 240109403#10 and make sure a second animation cannot be started. Test: BackAnimationControllerTest Change-Id: Id2a5fb00f632fb9be175ef10cad7fea511d09ae0
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions