|
|
@ -230,6 +230,7 @@ public class AndroidHarness extends Activity implements TouchListener, DialogInt |
|
|
|
view.onResume(); |
|
|
|
view.onResume(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (app != null) { |
|
|
|
//resume the audio
|
|
|
|
//resume the audio
|
|
|
|
AudioRenderer result = app.getAudioRenderer(); |
|
|
|
AudioRenderer result = app.getAudioRenderer(); |
|
|
|
if (result != null) { |
|
|
|
if (result != null) { |
|
|
@ -238,6 +239,7 @@ public class AndroidHarness extends Activity implements TouchListener, DialogInt |
|
|
|
renderer.resumeAll(); |
|
|
|
renderer.resumeAll(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
isGLThreadPaused = false; |
|
|
|
isGLThreadPaused = false; |
|
|
|
logger.info("onResume"); |
|
|
|
logger.info("onResume"); |
|
|
@ -250,6 +252,7 @@ public class AndroidHarness extends Activity implements TouchListener, DialogInt |
|
|
|
view.onPause(); |
|
|
|
view.onPause(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (app != null) { |
|
|
|
//pause the audio
|
|
|
|
//pause the audio
|
|
|
|
AudioRenderer result = app.getAudioRenderer(); |
|
|
|
AudioRenderer result = app.getAudioRenderer(); |
|
|
|
if (result != null) { |
|
|
|
if (result != null) { |
|
|
@ -259,9 +262,10 @@ public class AndroidHarness extends Activity implements TouchListener, DialogInt |
|
|
|
renderer.pauseAll(); |
|
|
|
renderer.pauseAll(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
isGLThreadPaused = true; |
|
|
|
isGLThreadPaused = true; |
|
|
|
logger.info("onPause"); |
|
|
|
logger.info("onPause"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|