Adapt semantics event handling to framework changes (flutter/engine#4066)
This commit is contained in:
committed by
GitHub
parent
d37cb3ca38
commit
e9ba17ce44
@@ -344,8 +344,7 @@ class AccessibilityBridge extends AccessibilityNodeProvider implements BasicMess
|
||||
final JSONObject annotatedEvent = (JSONObject)message;
|
||||
try {
|
||||
final int nodeId = annotatedEvent.getInt("nodeId");
|
||||
final JSONObject event = annotatedEvent.getJSONObject("data");
|
||||
final String type = event.getString("type");
|
||||
final String type = annotatedEvent.getString("type");
|
||||
|
||||
switch (type) {
|
||||
case "scroll":
|
||||
|
||||
Reference in New Issue
Block a user