diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-10-07 18:26:08 -0600 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-10-28 16:40:22 +0800 |
commit | 4cf3ab66c16943110b9e17b6b4ae61d5d3b539d2 (patch) | |
tree | 3e56e573d0c29df93ac875b0419691159e2d8a57 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7fc0216e351a6358ebee84a22752080baf5f31b7 (diff) |
Request transition for explicit finishing visible activity
Set finishing may be a part of cleanup, it is to aggressive for
handling transition. Such as a transition is created even if when
removing background tasks. It is also unnecessary to request
transition when finishing invisible activity. Otherwise the pending
transition may affect the next launch animation.
Bug: 202378926
Test: atest ActivityRecordTests# \
testFinishActivityIfPossible_nonVisibleNoAppTransition
testFinishActivityIfPossible_collectToExistingTransition
Test: setprop persist.debug.shell_transit 1; reboot
Remove task from recents and launch any app, the
transition animation runs normally.
Change-Id: Ib1509d9ad6a4e8f733e968f5f3e753dd44ab57f7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions