mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Don't implicitly fall through in switch statement (#5964)
This commit is contained in:
parent
c7ce6dd69c
commit
7f083e54fe
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user