android - Activity calling finish in onPause crashes during orientation change -


To preserve resources and to prevent memory leaks, I stop focusing on the call (focus) whenever an activity is going from one activity to the other. I think this works fine, but when I try to rotate the screen, the app is crashing - Error "Duplicate Finnish Request" How can I stop it, find out some way to it Could the app be going on next activity or just changing orientation? Is it better to conserve memory to end?

Thanks for the help!

Here's just a shot in the dark, but are you calling super. ()?

Comments