summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseSetArray.java
diff options
context:
space:
mode:
authorShan Huang <shanh@google.com>2022-04-18 19:55:02 +0000
committerShan Huang <shanh@google.com>2022-05-15 23:30:33 +0000
commite8f9151270ec7f8995f6437410ae5580f9c09a3b (patch)
tree43852ff1b74b00bec2415014942817e52b61e350 /core/java/android/util/SparseSetArray.java
parent89c3325804e2cb0e8c590cfac417d4678cf704eb (diff)
Fix broken animation on two consecutive swipes.
The bug is caused by allowing a second swipe to restart animation in BackAnimationController. This CL adds a flag to reject incoming gestures when an uninterruptable transition (e.g. commit transition, cancel transition) is already in progress. To prevent an unfinished transition from failing all future swipes, this CL also introduces a timeout mechanism to start accepting gesture again after a fixed period. Bug: 221394367 Test: Do two quick consecutive swipes and observe the back to home animation. Merged-In: Ib969afb72cc15bd268613546f3495008b6bc9125 Change-Id: Ib969afb72cc15bd268613546f3495008b6bc9125
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions