Suppose there are two activities in a single android application with launch modes as 'singleInstance'. Assume an example below.
I am navigating from activity A -> B(launchMode="singleInstance"). Now from activity B -> C. Finally, I navigate from activity C -> D(launchMode="singleInstance").
Now we know instance of activity B will be created in a different task, and A & C will be in the different task.
Now, my question is, in which task instance of activity D would be placed. Will it be with activity B, or some other task would be created for activity D.
Thanks.