Add talkback feedback when setting passowrd/pin/pattern complete

Bug: 297959385
Test: 1. Enable talkback
      2. Change or Set a password/pattern/pin
      3. Check if there is a feedback after setting complete
Change-Id: I9a63bc99575e27b504dd3130e416f65dac068b4e
This commit is contained in:
Vincent Wang
2023-12-13 08:23:40 +00:00
parent accd9ca298
commit 54a1c53c2a
3 changed files with 15 additions and 0 deletions

View File

@@ -871,6 +871,12 @@ public class ChooseLockPattern extends SettingsActivity {
startActivity(intent);
}
}
if (mSudContent != null) {
mSudContent.announceForAccessibility(
getString(R.string.accessibility_setup_password_complete));
}
getActivity().finish();
}
}