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

Commit 906fdea8 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Do not capture task snapshot created from organizer." into main

parents 83456c43 9893ea9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ class SnapshotController {
            if (info.mWindowingMode == WINDOWING_MODE_PINNED) continue;
            if (info.mContainer.isActivityTypeHome()) continue;
            final Task task = info.mContainer.asTask();
            if (task != null && !task.isVisibleRequested()) {
            if (task != null && !task.mCreatedByOrganizer && !task.isVisibleRequested()) {
                mTaskSnapshotController.recordSnapshot(task, info);
            }
            // Won't need to capture activity snapshot in close transition.