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

Commit 51860d28 authored by Adam Lesinski's avatar Adam Lesinski Committed by Android Git Automerger
Browse files

am 3a18a92e: am 92fba41f: am 9d958f69: Merge "Allow killed task to remove itself" into klp-dev

* commit '3a18a92e':
  Allow killed task to remove itself
parents f25427d2 3a18a92e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -6759,7 +6759,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);