From 9f96577bd559cd844a377954592b8543822c5224 Mon Sep 17 00:00:00 2001 From: Jeremy Sim Date: Tue, 1 Apr 2025 12:12:12 +0800 Subject: [PATCH] Increase threshhold for hiding one icon menu in Overview Increases the minimum ratio for showing both icon menus from 0.2 to 0.25. Needed because certain layouts were exceeding the previous breakpoint (at around 0.22) and causing the icon menu to appear in a too-small space. Fixes: 404545073 Flag: com.android.wm.shell.enable_flexible_two_app_split Test: Manual Change-Id: I87b93994fb37a9b82e58749792c519aaae541d0d --- quickstep/src/com/android/quickstep/views/GroupedTaskView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/views/GroupedTaskView.kt b/quickstep/src/com/android/quickstep/views/GroupedTaskView.kt index 10a2e902cb..95555cb7ad 100644 --- a/quickstep/src/com/android/quickstep/views/GroupedTaskView.kt +++ b/quickstep/src/com/android/quickstep/views/GroupedTaskView.kt @@ -52,7 +52,7 @@ import com.android.wm.shell.shared.split.SplitScreenConstants.PersistentSnapPosi class GroupedTaskView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) : TaskView(context, attrs, type = TaskViewType.GROUPED) { - private val MINIMUM_RATIO_TO_SHOW_ICON = 0.2f + private val MINIMUM_RATIO_TO_SHOW_ICON = 0.25f val leftTopTaskContainer: TaskContainer get() = taskContainers[0]