How do I prevent the back button from exiting my app if it was launched from recent apps screen?
When I launch my activity from the recent apps menu (using a long click on the home screen) and then hit the back button (once the app is launched), the app exits and returns to the home screen. The behavior I would have expected is that the entire application activity stack is reloaded, so hitting back would finish the current activity and go down one level in the stack inside my application.

What am I doing wrong? Is there a setting in my AndroidManifest.xml that I should keep an eye out for?

Thanks in advance.
How do I prevent the back button from exiting my app if it was launched from recent apps screen?
===

When I launch my activity from the recent apps menu (using a long click on the home screen) and then hit the back button (once the app is launched), the app exits and returns to the home screen. The behavior I would have expected is that the entire application activity stack is reloaded, so hitting back would finish the current activity and go down one level in the stack inside my application.

What am I doing wrong? Is there a setting in my AndroidManifest.xml that I should keep an eye out for?

Thanks in advance.