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

Commit 3a18a92e authored by Adam Lesinski's avatar Adam Lesinski Committed by Android Git Automerger
Browse files

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

* commit '92fba41f':
  Allow killed task to remove itself
parents e6ea79b4 92fba41f
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);