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

Skip to content
Commit d9509f2e authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

Fix a transition issue when starting an activity with CLEAR_TOP flag

If the app hooks the back key event to start the previous activity
with FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
flags in order to clear the top activity and bring the exist previous
activity to front,

The activity transition should playing the close animation
instead the initiated open animation made by startActivity.

Fix: 306166200
Test: atest ShellTransitionTests#\
         testCloseTransitAnimationWhenClosingChangesExists
Change-Id: Ib287c224368827e87c7ec280980e4662368cee6f
parent 7a0ccd8b
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