Skip to content

Commit

Permalink
Return true after dispatchKeyEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Ciombor committed Oct 17, 2017
1 parent f6495c1 commit 0a7f218
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public boolean dispatchKeyEvent(KeyEvent ev) {
ReactContext reactContext = mReactInstanceManager.getCurrentReactContext();
DeviceEventManagerModule.RCTDeviceEventEmitter eventEmitter = reactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class);
mAndroidTVRootViewHelper.handleKeyEvent(ev, eventEmitter);
return super.dispatchKeyEvent(ev);
return true;
}

private void dispatchJSTouchEvent(MotionEvent event) {
Expand Down

0 comments on commit 0a7f218

Please sign in to comment.