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

Skip to content
Commit b5a78b32 authored by lumark's avatar lumark
Browse files

Suppress transition when mCancelWithDeferredScreenshot as true.

Sometimes, back transition is being suppressed when pressing back key to back
previous task.
It seems that a home transition is active at this point, which suppresses the
activity animation.

If home transition is animate during RecentAnimation invoked, which will suppress
activity animation in AppWindowToken#shouldAnimation, this does not make sense.

Add mCancelWithDeferredScreenshot check to only suppress animation when canceling
recents animation with screenshot case to fix above case.

Bug: 129934735
Test: manual as below steps:
1. Have 2 button navigation enabled.
2. Go to Google News
3. Open article
4. Press back
5. Expect the back transition should not be suppressed.
Test: atest RecentsAnimationControllerTest

Change-Id: Id59b87fb7438b2bc9f4bf33e3009e726fce82562
parent f8e4e75d
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