diff options
| author | 2023-03-21 00:53:28 +0800 | |
|---|---|---|
| committer | 2023-03-21 20:48:32 +0800 | |
| commit | 27626413cd4fa9d6c441429effd3bee82feda5e8 (patch) | |
| tree | e2e490046d5c31c5370094518197e990e7cd0840 /libs/androidfw/ObbFile.cpp | |
| parent | 7e9609b4582b525093f0cf81ba0d3a1adb53b14b (diff) | |
Abort tf transition if window transaction is no-op
Otherwise TaskFragmentOrganizerController#onTransactionHandled
-> onTransactionFinished may trigger transition ready too early
that causes an empty transition and misses to collect the
later visibility changes, which breaks the animation.
For example, the transaction only calls createTaskFragment, but it
is failed by SecurityException for different owner task uid. And
then the client organizer will use the standard startActivity to
handle the rejection. With the abort, the failed wct can be no-op
completely and run the normal transition from startActivity.
Bug: 273422767
Test: TaskFragmentOrganizerControllerTest
Change-Id: If5e915ed3914b38273669f3d8ad715448a45f896
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions