Skip to content Skip to sidebar Skip to footer

Android Onstop Times Out Despite Doing No Work

I'm having trouble with an app crashing when returning to the activity. If I navigate away with the home button the phone (or emulator) onPause, onSaveInstanceState, and onStop are

Solution 1:

After months of on-off power guessing changing:

holder.getSurface().unlockCanvasAndPost(c);

to

holder.unlockCanvasAndPost(c);

In the code that manages screen updates seems to have fixed this problem.

Post a Comment for "Android Onstop Times Out Despite Doing No Work"