When I use multi-window and click another app, the activity of my app is in state onPause. According to the Usage, I have to call mVRLibrary.onPause.
But this will lead the renderer to stop rendering. Can I change the timing of call like following?
I used GLSurfaceView to initialize this library and I saw the document say that Activity#onStop is one of the timing we could call GLSurfaceView#onPause. So maybe it's OK to do this?
When I use multi-window and click another app, the activity of my app is in state onPause. According to the Usage, I have to call mVRLibrary.onPause. But this will lead the renderer to stop rendering. Can I change the timing of call like following?
I used GLSurfaceView to initialize this library and I saw the document say that Activity#onStop is one of the timing we could call GLSurfaceView#onPause. So maybe it's OK to do this?