Fix disruptive announcement on PIN/Password set up

- Do not invoke deprecated announceForAccessibility()
- Define corresponding content description for PIN & Password

Flag: EXEMPT for a11y bug fixinig
Bug: 384607370
Test: Enabled Talkback, Setup Screen Lock PIN/Password,
ensure the "Password is now set up" for set up password, and
the "PIN is now set up" announced without disruptive announcement

Change-Id: I97c2c7fd8824468fccca8526c4e61ce642fd62ac
This commit is contained in:
lbill
2025-02-27 04:00:32 +00:00
parent 35e725d4eb
commit d334ebb556
3 changed files with 23 additions and 14 deletions

View File

@@ -13903,6 +13903,9 @@
<!-- Content description for setting password complete-->
<string name="accessibility_setup_password_complete">Password is now set up</string>
<!-- Content description for setting PIN complete-->
<string name="accessibility_setup_pin_complete">PIN is now set up</string>
<!-- Authority of the content provider that support methods restartPhoneProcess and restartRild. Will be overlaid by OEM.-->
<string name="reset_telephony_stack_content_provider_authority" translatable="false"></string>