Add calls to loseFocus and gainFocus when activity pauses and resumes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10048 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
iwg..ic 12 years ago
parent 1df4fe8346
commit 044d81f7e8
  1. 4
      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) {

Loading…
Cancel
Save