Don't announce changes in zen dialog

- announcing changes causes items in the dialog
to receive a TYPE_WINDOW_CONTENT_CHANGED which announces
the items before a11y announces the dialog title

Test: manual
Fixes: 124722405
Change-Id: I04f9dfe0ec2d8549db07daa6b2b8964e363f5890
This commit is contained in:
Beverly
2019-04-01 11:29:31 -04:00
committed by Beverly Tai
parent d5c80f29cd
commit efc7c7280b

View File

@@ -210,7 +210,6 @@ public class ZenDurationDialog {
private void setupUi(ConditionTag tag, View row) {
if (tag.lines == null) {
tag.lines = row.findViewById(android.R.id.content);
tag.lines.setAccessibilityLiveRegion(View.ACCESSIBILITY_LIVE_REGION_POLITE);
}
if (tag.line1 == null) {