From 1338dc41df32c7a4489c75b76131beeaefb14913 Mon Sep 17 00:00:00 2001 From: randypfohl Date: Thu, 30 Nov 2023 15:28:04 -0800 Subject: [PATCH] Fixing regression where icon view became focusable Description: in ag/24721149 we stopped inflating IconView from Task.xml and instead used a viewstub. When creating files to fill the viewstub, we forgot to place the correct attributes on Icon_view.xml. We did place them correctly elsewhere. Anyways this is why we were seeing focusable icons. Flag: None Test: Built locally, will follow up with automation Bug: 307461880 Change-Id: I45f895c8545a80f80c79709180f2878476d10221 --- quickstep/res/layout/icon_view.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quickstep/res/layout/icon_view.xml b/quickstep/res/layout/icon_view.xml index a33066fcd5..e8c9cc5da4 100644 --- a/quickstep/res/layout/icon_view.xml +++ b/quickstep/res/layout/icon_view.xml @@ -16,4 +16,6 @@ --> \ No newline at end of file + android:layout_height="match_parent" + android:focusable="false" + android:importantForAccessibility="no"/> \ No newline at end of file