diff --git a/quickstep/src/com/android/quickstep/views/RecentsViewUtils.kt b/quickstep/src/com/android/quickstep/views/RecentsViewUtils.kt index 1207b02ec4..33963b817b 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsViewUtils.kt +++ b/quickstep/src/com/android/quickstep/views/RecentsViewUtils.kt @@ -52,6 +52,7 @@ import com.android.quickstep.views.RecentsView.RECENTS_GRID_PROGRESS import com.android.quickstep.views.RecentsView.RUNNING_TASK_ATTACH_ALPHA import com.android.quickstep.views.RecentsView.TAG import com.android.quickstep.views.RecentsView.TASK_THUMBNAIL_SPLASH_ALPHA +import com.android.quickstep.views.TaskView.Companion.FLAG_UPDATE_ALL import com.android.systemui.shared.recents.model.Task import com.android.systemui.shared.recents.model.ThumbnailData import com.android.wm.shell.shared.GroupedTaskInfo @@ -669,6 +670,11 @@ class RecentsViewUtils(private val recentsView: RecentsView<*, *>) : DesktopVisi if (enableLargeDesktopWindowingTile()) { animatorSet.play(ObjectAnimator.ofFloat(this, DESKTOP_CAROUSEL_DETACH_PROGRESS, 0f)) } + + if (enableGridOnlyOverview()) { + // Reload visible tasks according to new [mCurrentGestureEndTarget] value. + loadVisibleTaskData(FLAG_UPDATE_ALL) + } } }