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

This commit is contained in:
Todd Volkert
2018-08-07 13:18:26 -07:00
committed by GitHub
parent 3b5e35f4b9
commit 21c7a646ca

View File

@@ -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;
}
}
}