Is the root activity the current first activity on the stack, or the activity indicated as launch activity in the manifest?
The P support application launches activity A at startup. Then A starts B and finishes itself, and then B starts C. Now the stack contains B and C, and B is the first on the stack.
Can I say that B is the root activity, or is still the root activity.
I want to clarify this because I'm trying to understand the definition of clearTaskOnLaunch:
Android: clearTaskOnLaunch Regardless of whether all actions from the task are deleted, except for the root activity, whenever it is restarted from the main screen - “true” if the task is always divided into its root activity, and “false” if not ,.
source
share