I have a activity A
with launchMode=singleTop
. And activity B
with standart
launch mode.
First case: I launching app from installer
or Google Play
(not from launcher), then
start other activity B
from activity A
(after task stack will be A -> B
(top of stack)). If i minimize the app and open app from launcher then activity A
start to top of app stack (A -> B -> A
).
Other case (right case): if i started app from launcher (not google play) then start activity B
, minimize app and open app from laucner, then app restores previous state (stack: A -> B
).
Is it able to prevent launching activity A
to the top of stack in first case?