未验证 提交 7f083e54 编写于 作者: T Todd Volkert 提交者: GitHub

Don't implicitly fall through in switch statement (#5964)

上级 c7ce6dd6
......@@ -842,6 +842,7 @@ class AccessibilityBridge
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
......@@ -852,6 +853,7 @@ class AccessibilityBridge
return;
}
sendAccessibilityEvent(nodeId, AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED);
break;
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册