Hacker News new | ask | show | jobs
by ZoFreX 4488 days ago
This is definitively the wrong way to handle the problem he describes in the article. Even if you set this in the manifest you need to store your state and resume from it correctly. An orientation change is the most common configuration change that causes activities to be restarted, but is far from the only one.
1 comments

This. The most common other case in which you need to restore state is when your app goes into the background, and is restored.