Merge "Skip adding tasks to the skip list if they won't be processed" into sc-v2-dev
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user