From 1dfc18740e9ad411fcb626da96818429f7fc11fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Hern=C3=A1ndez?= Date: Wed, 14 Aug 2024 14:45:28 +0200 Subject: [PATCH] Don't read the +N test of CircularIconsPreference The description of the segment is already "App 1, App 2, and x more can interrupt", from its text. If the icons don't fit, there's a "+N" at the end. Accessibility services reading this is confusing, especially because the icons that don't fit are not the same as the names that don't fit, so you could get something like "App 1, App 2, and 9 more can interrupt, plus 4". The whole circular-icons section is irrelevant for a11y so we just mark the container as "noHideDescendants" to save Talkback some work. Fixes: 359837977 Test: Manual with Talkback Flag: android.app.modes_ui Change-Id: I346abcc94e25ef60c5e91f77b8e13f38ade39c71 --- res/layout/preference_circular_icons.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/res/layout/preference_circular_icons.xml b/res/layout/preference_circular_icons.xml index ae981b2c562..863d2288513 100644 --- a/res/layout/preference_circular_icons.xml +++ b/res/layout/preference_circular_icons.xml @@ -61,6 +61,7 @@