From efc7c7280ba41970bfa65d47d1358fbea80589fd Mon Sep 17 00:00:00 2001 From: Beverly Date: Mon, 1 Apr 2019 11:29:31 -0400 Subject: [PATCH] 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 --- .../com/android/settingslib/notification/ZenDurationDialog.java | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/SettingsLib/src/com/android/settingslib/notification/ZenDurationDialog.java b/packages/SettingsLib/src/com/android/settingslib/notification/ZenDurationDialog.java index b9197fe1ebd5f..66ee8021957f7 100644 --- a/packages/SettingsLib/src/com/android/settingslib/notification/ZenDurationDialog.java +++ b/packages/SettingsLib/src/com/android/settingslib/notification/ZenDurationDialog.java @@ -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) {