Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is that OK to call mVRLibrary.onPause when Activity is in state onStop? #239

Open
ItsRay opened this issue Jun 4, 2019 · 0 comments
Open

Comments

@ItsRay
Copy link

ItsRay commented Jun 4, 2019

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?

Activity#onStop -> mVRLibrary#onPause
Activity#onStart -> mVRLibrary#onResume

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant