diff options
| author | 2023-03-15 10:38:58 +0000 | |
|---|---|---|
| committer | 2023-03-29 04:17:01 +0000 | |
| commit | 5772171210bc25fa71dd95c6e33b9009f2849290 (patch) | |
| tree | e124be349f92a64683eaa708ae9ac8949969d700 /libs/androidfw/ObbFile.cpp | |
| parent | b11b27d49043283594685b9b69cb012aa5212249 (diff) | |
Keep only one back animation playing.
- Preventing from prepare a new animation while previous one is
playing, also clear up animation resources if gesture was finished
before onAnimationStart.
- Extends the monitor periods until transition finish.
- There do not really need to hide the close target after animation
finish, transition system will do it.
- Reset launchTaskBehind flag after transition finish, there won't
collect the animating target if there is no visibility change.
Bug: 131727607
Bug: 208786853
Bug: 274997465
Test: atest BackNavigationControllerTests
Test: monkey test and I'm the monkey, randomly start activity and
trigger back ASAP.
Test: trigger the back-to-task animation several times, and verify that
the flickering no longer occurs.
Test: open app, and trigger a back-to-home animation, verify the
launchTaskBehind flag of the home activity will be reset after transition
finish.
Change-Id: I736b987370c06b24cb5285e828fa482843b0cfb8
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions