diff --git a/shell/platform/android/io/flutter/view/AccessibilityBridge.java b/shell/platform/android/io/flutter/view/AccessibilityBridge.java index cdba27a589ce4..6d40ee8529d24 100644 --- a/shell/platform/android/io/flutter/view/AccessibilityBridge.java +++ b/shell/platform/android/io/flutter/view/AccessibilityBridge.java @@ -824,6 +824,7 @@ public void onMessage(Object message, BasicMessageChannel.Reply reply) { ROOT_NODE_ID, AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); e.getText().add((String) data.get("message")); sendAccessibilityEvent(e); + break; } // Requires that the node id provided corresponds to a live region, or TalkBack will // ignore the event. The event will cause talkback to read out the new label even @@ -834,6 +835,7 @@ public void onMessage(Object message, BasicMessageChannel.Reply reply) { return; } sendAccessibilityEvent(nodeId, AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED); + break; } } }