Remove "System UI" talkback announcement

"System UI" is incorrectly announced by
Talkback when the switch to managed profile
dialog is shown. This adds an empty
label to the dialog activity so that nothing
is announced, rather than defaulting to the
application label.

Talkback now announces the dialog contents
without starting with "System UI"

Bug: 278858943
Test: Manually tested with talkback enabled
Change-Id: I7728693d66652b30948aebd45f9ab307d6267f17
This commit is contained in:
Anthony Alridge
2023-05-03 12:59:51 +00:00
parent be2d9c4580
commit 2ccdf8050f

View File

@@ -713,8 +713,11 @@
android:exported="true" />
<!-- started from Telecomm(CallsManager) -->
<!-- Sets an empty label to avoid an announcement from TalkBack,
the dialog contents are sufficient and will still be read by TalkBack -->
<activity
android:name=".telephony.ui.activity.SwitchToManagedProfileForCallActivity"
android:label=" "
android:excludeFromRecents="true"
android:exported="true"
android:finishOnCloseSystemDialogs="true"