Merge "Skip adding tasks to the skip list if they won't be processed" into sc-v2-dev am: 4593cd68bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15845119 Change-Id: Ic8ff35924d09ada455c337bd74fc78cc360952c8
This commit is contained in:
@@ -168,6 +168,9 @@ class TaskSnapshotController {
|
||||
*/
|
||||
@VisibleForTesting
|
||||
void addSkipClosingAppSnapshotTasks(ArraySet<Task> tasks) {
|
||||
if (shouldDisableSnapshots()) {
|
||||
return;
|
||||
}
|
||||
mSkipClosingAppSnapshotTasks.addAll(tasks);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user