Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efc7c728 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

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
parent d5c80f29
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {