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

Commit 3f26e5e1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Temporarily disable active task trimming."

parents 30dfc68a 14cfbb49
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -3005,12 +3005,7 @@ public class ActivityStackSupervisor extends ConfigurationContainer implements D

    @Override
    public void onRecentTaskRemoved(TaskRecord task, boolean wasTrimmed) {
        if (wasTrimmed) {
            // Task was trimmed from the recent tasks list -- remove the active task record as well
            // since the user won't really be able to go back to it
            removeTaskByIdLocked(task.taskId, false /* killProcess */,
                    false /* removeFromRecents */);
        }
        // TODO: Trim active task once b/68045330 is fixed
        task.removedFromRecents();
    }