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

Commit 9d958f69 authored by Adam Lesinski's avatar Adam Lesinski Committed by Android (Google) Code Review
Browse files

Merge "Allow killed task to remove itself" into klp-dev

parents e6d419de aa524377
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -6755,7 +6755,6 @@ public final class ActivityManagerService extends ActivityManagerNative
    private void cleanUpRemovedTaskLocked(TaskRecord tr, int flags) {
        tr.disposeThumbnail();
        mRecentTasks.remove(tr);
        mStackSupervisor.removeTask(tr);
        final boolean killProcesses = (flags&ActivityManager.REMOVE_TASK_KILL_PROCESS) != 0;
        Intent baseIntent = new Intent(
                tr.intent != null ? tr.intent : tr.affinityIntent);