提交 4e68860e 编写于 作者: J Jason Simmons 提交者: GitHub

Do not intercept all Android key events (#3149)

上级 f4fe2b61
......@@ -189,7 +189,7 @@ public class FlutterView extends SurfaceView
} catch (JSONException e) {
Log.e(TAG, "Failed to serialize key event", e);
}
return true;
return super.onKeyUp(keyCode, event);
}
@Override
......@@ -203,7 +203,7 @@ public class FlutterView extends SurfaceView
} catch (JSONException e) {
Log.e(TAG, "Failed to serialize key event", e);
}
return true;
return super.onKeyDown(keyCode, event);
}
SkyEngine getEngine() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册