The Android framework can destroy your activity at any time in the background or in the background, and you must write your actions so that they work correctly when this happens. What this entails depends on what the activity does, but usually involves implementing onSaveInstanceState(...) and restoring any previous state to onCreate(...) .
The Do Not Save Actions developer option simply changes the behavior of the structure, so it will always destroy your activity when it is directed to the background or back. This allows you to check how your activity reacts to what is usually a rare occurrence.
The link provided in another answer states:
Under normal use, it is not recommended to enable this feature, as this can lead to unexpected application problems, such as freezes, forced shutdown and reboot.
This is not true. If your actions are spelled correctly, the only effect of enabling "do not continue activity" should be (possibly) a slightly higher battery and processor consumption from constant savings and restoration of a constant state. Any applications that exhibit "unexpected problems" or are forced to close when this option is enabled should be fixed. As a developer, I usually leave “not doing business” all the time. I have seen many buggy applications, even some from Google. But this never led to a reboot, and I don't think it is possible.
Kevin Krumwiede Sep 06 '15 at 20:15 2015-09-06 20:15
source share