fixing android bug
This commit is contained in:
parent
088f31fbdd
commit
7f5e2b3523
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user