How to know in settings \"Don\'t keep activities\" option is enabled in ics via code. If it is in enabled,how to prevent the activity.
Note: I have used more activit
That flag is there for exactly this reason. The idea is to check and make sure your app handles its activities being destroyed. You can't override it because in the real world it might happen even without that flag if the device is low on memory. You need to code things to handle this case not override it.