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

Commit 21e01e1b authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Remove-Task in WCT should imply lifecycle change." into main

parents e6332140 969f2f80
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1025,7 +1025,9 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
                    break;
                }
                final Task task = wc.asTask();

                if (task.isVisibleRequested() || task.isVisible()) {
                    effects |= TRANSACT_EFFECTS_LIFECYCLE;
                }
                if (task.isLeafTask()) {
                    mService.mTaskSupervisor
                            .removeTask(task, true, REMOVE_FROM_RECENTS, "remove-task"