You can try clearTaskOnLaunch in the or finishTaskOnLaunch for a
particular activity.
You can also try FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET.
Home screen shortcuts are launched with FLAG_ACTIVITY_NEW_TASK |
FLAG_ACTIVITY_RESET_TASK_AS_NEEDED, I'd recommend read up on them first.
-- Kostya
2011/6
I want to Remove top activity from display stack ,
FLAG_ACTIVITY_CLEAR_TOP helps me to do this but not in all cases, this
flag helps when i Manually launch a particular activity and removes
top activity from stack ,But when i bring my application from Home
Screen , by default top activity only disp
2 matches
Mail list logo