diff --git a/engine/src/android/com/jme3/app/AndroidHarness.java b/engine/src/android/com/jme3/app/AndroidHarness.java index caf875007..3b97f02bd 100644 --- a/engine/src/android/com/jme3/app/AndroidHarness.java +++ b/engine/src/android/com/jme3/app/AndroidHarness.java @@ -274,10 +274,14 @@ public class AndroidHarness extends Activity implements TouchListener, DialogInt } isGLThreadPaused = false; + + gainFocus(); } @Override protected void onPause() { + loseFocus(); + logger.info("onPause"); super.onPause(); if (view != null) {