From fdaedff4d0855a72c62ae5e453b4d5a886087c6d Mon Sep 17 00:00:00 2001 From: Jay Aliomer Date: Tue, 1 Mar 2022 16:00:34 -0500 Subject: [PATCH] Enable only clickable section header elements a11y Fixes: 214887576 Fixes: 214886200 Test: manual Change-Id: Iad733ff614d535c9f1f9dfed66bd04b057a4d25f --- .../res/layout/status_bar_notification_section_header.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/res/layout/status_bar_notification_section_header.xml b/packages/SystemUI/res/layout/status_bar_notification_section_header.xml index e33f186dcbb70..c4d8d55f74e29 100644 --- a/packages/SystemUI/res/layout/status_bar_notification_section_header.xml +++ b/packages/SystemUI/res/layout/status_bar_notification_section_header.xml @@ -21,8 +21,6 @@ android:layout_height="@dimen/notification_section_header_height" android:paddingStart="4dp" android:paddingEnd="4dp" - android:focusable="true" - android:clickable="true" > @@ -57,6 +56,7 @@ android:layout_height="48dp" android:src="@drawable/status_bar_notification_section_header_clear_btn" android:contentDescription="@string/accessibility_notification_section_header_gentle_clear_all" + android:focusable="true" android:scaleType="center" android:tintMode="src_in" android:visibility="gone"