Fixed Pattern SUW a11y bug

Test: Verified that setting up a patter nduring SUW no longer announces
a long peice of text after clearing the pattern.
Fixes: 386859835
Flag: EXEMPT bugfix

Change-Id: I7350aba7d3f0665f204758241af02eeaad8cc1d5
This commit is contained in:
Joshua McCloskey
2025-01-15 19:17:23 +00:00
parent b6aa1157d6
commit 53ac9161d3

View File

@@ -815,8 +815,6 @@ public class ChooseLockPattern extends SettingsActivity {
if (stage == Stage.NeedToConfirm) {
// If the Stage is NeedToConfirm, move the a11y focus to the header.
mHeaderText.requestAccessibilityFocus();
} else {
mHeaderText.announceForAccessibility(mHeaderText.getText());
}
}
}