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

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

[PB] Handle close transition in prepare_open transition.

If the closing activity isn't launch from home, the activity will be
finish instead of moveTaskToBack, so the prepare_open transition can
also collecting the closing transition.
Check whether the closing target is inside the transition info, if it
does exists in prepare_open transition, handle it as close transition.

Flag: com.android.window.flags.migrate_predictive_back_transition
Bug: 358422448
Test: launch activity by command, close the app with gesture quickly
and verify the BackTransitionHandler can consume that transition.

Change-Id: I4981862687d204e80df8427c4eb862df5e872895
parent 81100970
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment