summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2018-02-12 11:10:04 -0800
committerWinson Chung <winsonc@google.com>2018-02-13 10:54:41 -0800
commitddf62975798eff2a68422d075441a4bfcf1cd6b4 (patch)
treedc8b6e074965ad4864e9dbee37c30ac74c6da5cc /tools/aapt2/java/JavaClassGenerator_test.cpp
parente848e106b6373d7ca73cfcdac26757c0ea763cd8 (diff)
Fix several issues with RecentsAnimation
- Prevent starting the recents animation while an app transition is already set, if the animation was canceled before the pending start animation could be processed, or if there are truly no visible tasks to animate - Fix case where we were improperly cleaning up the recents animation if it was canceled while initializing. In particular we need to move the initialization out of the constructor for the cancel logic to work (which checks for a non-null controller before cleaning up). Similarly we were posting the timeout runnable after the initialization of the recents animation, even if that resulted in the animation being canceled. Instead, post it before initialization to ensure that canceling the animation will also remove the timeout. Bug: 72953248 Test: Introduce artificial delay when starting recents animation such that it happens after starting an activity Change-Id: Ie0ec37038822f28327e789e7e5a3c4c36f945ff9 Signed-off-by: Winson Chung <winsonc@google.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions