So, if Activity A starts Activity B, Activity B can define in its manifest how it associates with the current task, and Activity A can use an intent flag to request how Activity B can associate with current task.
If both activities define how Activity B associates with a task, then Activity A's request, as defined in the intent, is honored over Activity B's request, as defined in its manifest.
when Activity B can define in its manifest how it associates with the current task is different(single Top) , and Activity A can use an intent flag to request how Activity B can associate with current task is different example(new task).
what will be honored over whom?