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

Commit 4593cd68 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Skip adding tasks to the skip list if they won't be processed" into sc-v2-dev

parents 212fc8b3 5f2766f3
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -168,6 +168,9 @@ class TaskSnapshotController {
     */
     */
    @VisibleForTesting
    @VisibleForTesting
    void addSkipClosingAppSnapshotTasks(ArraySet<Task> tasks) {
    void addSkipClosingAppSnapshotTasks(ArraySet<Task> tasks) {
        if (shouldDisableSnapshots()) {
            return;
        }
        mSkipClosingAppSnapshotTasks.addAll(tasks);
        mSkipClosingAppSnapshotTasks.addAll(tasks);
    }
    }