I have two activities A and B where A is the parent of B. Now I show a notification that launches B. when I tap on the notification, B launches. Th
A
B
Override the public boolean shouldUpRecreateTask(Intent targetIntent) method in activity and always return true.
public boolean shouldUpRecreateTask(Intent targetIntent)
true