fixing android bug

This commit is contained in:
Vladislav Khorev 2013-05-28 17:52:17 +00:00
parent 088f31fbdd
commit 7f5e2b3523

View File

@ -52,6 +52,8 @@ public class MainActivity extends Activity
setContentView(mView); setContentView(mView);
EngineWrapper.SetView(mView);
} }
@Override @Override
@ -79,7 +81,6 @@ public class MainActivity extends Activity
public boolean onKeyDown(int keyCode, KeyEvent event) public boolean onKeyDown(int keyCode, KeyEvent event)
{ {
EngineWrapper.ProcessKeyDown(keyCode, event); EngineWrapper.ProcessKeyDown(keyCode, event);
return super.onKeyDown(keyCode, event); return super.onKeyDown(keyCode, event);
} }