[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
Loading
Please register or sign in to comment