|
@@ -4,6 +4,7 @@ import android.app.Activity;
|
4
|
4
|
import android.content.Intent;
|
5
|
5
|
import android.os.Bundle;
|
6
|
6
|
import android.support.v7.app.AppCompatActivity;
|
|
7
|
+import android.util.Log;
|
7
|
8
|
import android.view.KeyEvent;
|
8
|
9
|
|
9
|
10
|
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
|
|
@@ -99,15 +100,9 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
|
99
|
100
|
|
100
|
101
|
@Override
|
101
|
102
|
public boolean onKeyUp(int keyCode, KeyEvent event) {
|
102
|
|
-
|
103
|
103
|
return JsDevReloadHandler.onKeyUp(getCurrentFocus(), keyCode) || super.onKeyUp(keyCode, event);
|
104
|
104
|
}
|
105
|
105
|
|
106
|
|
- @Override
|
107
|
|
- public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) {
|
108
|
|
- return super.onKeyMultiple(keyCode, repeatCount, event);
|
109
|
|
- }
|
110
|
|
-
|
111
|
106
|
private NavigationReactInstance getNavigationReactInstance() {
|
112
|
107
|
return NavigationApplication.instance.getNavigationReactInstance();
|
113
|
108
|
}
|