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:
@@ -815,8 +815,6 @@ public class ChooseLockPattern extends SettingsActivity {
|
|||||||
if (stage == Stage.NeedToConfirm) {
|
if (stage == Stage.NeedToConfirm) {
|
||||||
// If the Stage is NeedToConfirm, move the a11y focus to the header.
|
// If the Stage is NeedToConfirm, move the a11y focus to the header.
|
||||||
mHeaderText.requestAccessibilityFocus();
|
mHeaderText.requestAccessibilityFocus();
|
||||||
} else {
|
|
||||||
mHeaderText.announceForAccessibility(mHeaderText.getText());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user