Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2895f104 authored by Louis Chang's avatar Louis Chang
Browse files

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
parent 78297ef2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment