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

Commit 11290775 authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

Merge "Refresh runningTaskView's thumbnail after setting shouldShowScreenshot to true" into main

parents e7c300f8 1ca8471a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3035,6 +3035,10 @@ public abstract class RecentsView<
        TaskView runningTaskView = getRunningTaskView();
        if (runningTaskView != null) {
            runningTaskView.setShouldShowScreenshot(mRunningTaskShowScreenshot);
            if (!enableRefactorTaskThumbnail()) {
                runningTaskView.getTaskContainers().forEach(
                        taskContainer -> taskContainer.getThumbnailViewDeprecated().refresh());
            }
        }
        if (enableRefactorTaskThumbnail()) {
            mRecentsViewModel.setRunningTaskShowScreenshot(showScreenshot);