diff options
| author | 2024-08-07 02:13:16 +0000 | |
|---|---|---|
| committer | 2024-08-07 02:13:16 +0000 | |
| commit | 2895f104f5a2363b251d7b090fa2f509a7dc01d9 (patch) | |
| tree | 224a64cda97356188df6c54c3a8ab4de161dbc82 /libs/androidfw/StringPool.cpp | |
| parent | 78297ef2539573800c7072cc674d80cb7b0a25d2 (diff) | |
Remove the empty Task when failed starting it from Recents
The recent task was restored and added to WM hierarchy for the
activity launch. However, the activity launch was aborted, which
leaves an empty Task in the WM.
Remove the Task if there's no child and should be removed when empty.
Note that the Task would also be removed from the Recents because
the Task hasn't been visible, see Task#shouldAutoRemoveFromRecents.
Bug: 357967390
Test: repro steps on the bug
Flag: EXEMPT bugfix
Change-Id: If1e4b924fa0c5dc47209be1e08e8409ed3a0b056
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions