From d021ca901b2b265ad0f13e8e577fe3fd56768490 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Fri, 14 Jul 2023 11:04:13 -0700 Subject: Make bouncer title not selectable in talkback The title should announce the text but should not be selectable in a11y services. Test: Open bouncer with talkback on. Fixes: 260986759 Change-Id: Iaf2291754cbbfec859360721db6982ec7fcb3dff Merged-In: Iaf2291754cbbfec859360721db6982ec7fcb3dff (cherry picked from commit 30e756d3c722e8942929a3826796527198dd2aad) --- packages/SystemUI/res-keyguard/layout/keyguard_bouncer_message_area.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/res-keyguard/layout/keyguard_bouncer_message_area.xml b/packages/SystemUI/res-keyguard/layout/keyguard_bouncer_message_area.xml index 57b3acd6557a..66c54f2a668e 100644 --- a/packages/SystemUI/res-keyguard/layout/keyguard_bouncer_message_area.xml +++ b/packages/SystemUI/res-keyguard/layout/keyguard_bouncer_message_area.xml @@ -21,6 +21,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/keyguard_lock_padding" + android:importantForAccessibility="no" android:ellipsize="marquee" android:focusable="true" android:gravity="center" -- cgit v1.2.3-59-g8ed1b