From 7f5e2b352386626b3d78eb6772ff00cbf7d745aa Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Date: Tue, 28 May 2013 17:52:17 +0000 Subject: [PATCH] fixing android bug --- src/fishrungames/salmonjnitemplate/MainActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fishrungames/salmonjnitemplate/MainActivity.java b/src/fishrungames/salmonjnitemplate/MainActivity.java index ca51357..85b05c2 100644 --- a/src/fishrungames/salmonjnitemplate/MainActivity.java +++ b/src/fishrungames/salmonjnitemplate/MainActivity.java @@ -52,6 +52,8 @@ public class MainActivity extends Activity setContentView(mView); + EngineWrapper.SetView(mView); + } @Override @@ -79,7 +81,6 @@ public class MainActivity extends Activity public boolean onKeyDown(int keyCode, KeyEvent event) { - EngineWrapper.ProcessKeyDown(keyCode, event); return super.onKeyDown(keyCode, event); }