in my application, when I run a specific action, I want all the actions in one package to be removed from the stack under it. Can someone help me on how to do this? Also, I don't want to use android:noHistory="true" in the manifest, because I want the stack history to be cleared when this particular operation is run.
EDIT:
To make my point clearer, suppose I have activity a. From the start of work b. From b, we start c. But when I start c, I want to clear b and a.
source share