Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 57721712 authored by wilsonshih's avatar wilsonshih
Browse files

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
parent b11b27d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment