I have a launcher ActivityA (launch mode - singleTask), that opens ActivityB on pressing a button. Now, I press the home button and open the application again. I see ActivityA but not ActivityB. I want the activity which is displayed before pressing the home button to be displayed even after re-opening the application.
Note: When I change the launcher mode for ActivityA to singleTop, then this problem gets fixed. But I can't use that launcher mode because of some other unrelated reason (I don't want to create another instance of the ActivityA).