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

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

Prevent execute app transition too early when performClearTask

The app transition could be executed in finishIfPossible if one of the
non-top activity in the task is visible but not resumed, which lead the
wrong transition type, normally there should wait for for next resumed
activity be added to opening apps. Use destroyIfPossible to prevent
unnecessary transition.

Bug: 192309923
Test: verify the transition type after SUW call finishAndRemoveTask.
Test: atest AppTransitionControllerTest TaskStackChangedListenerTest
Change-Id: I5c336bc5a8fc52684f5e15d8ff973d0960aa1250
parent bdb91bf0
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