From 8517ba500d51f1fc04c1d43bdb5f05e79d7b6683 Mon Sep 17 00:00:00 2001 From: Jordan Silva Date: Wed, 30 Apr 2025 09:46:51 -0700 Subject: [PATCH] Fix: Prevent app chip being destroyed for DesktopTask DesktopTask shares the same iconView between different TaskContainers. When destroying a single Task in DesktopTask should not reset this shared IconAppChip. Fix: 411406340 Flag: com.android.launcher3.enable_overview_icon_menu Test: Manual Change-Id: I40f144c836715290eabb9db49ed0582986a11945 --- quickstep/src/com/android/quickstep/views/TaskContainer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/views/TaskContainer.kt b/quickstep/src/com/android/quickstep/views/TaskContainer.kt index 1fa3f61821..5ac4481bf1 100644 --- a/quickstep/src/com/android/quickstep/views/TaskContainer.kt +++ b/quickstep/src/com/android/quickstep/views/TaskContainer.kt @@ -134,7 +134,7 @@ class TaskContainer( thumbnailViewDeprecated.setShowSplashForSplitSelection(false) } - if (enableOverviewIconMenu()) { + if (enableOverviewIconMenu() && taskView.type != TaskViewType.DESKTOP) { (iconView as IconAppChipView).reset() } }