diff options
| author | 2024-08-09 07:33:29 +0000 | |
|---|---|---|
| committer | 2024-08-09 07:33:29 +0000 | |
| commit | eb2ef423d83bff3bcbf8c354b6ddfc24a31dd5ab (patch) | |
| tree | 454381c3bed08398be694e9a1062f9c91db2684c /api/api_test.go | |
| parent | 8110097018b71b1311295b91565fa78b19050f70 (diff) | |
[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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions