Android SingleTask activities started in same task
<p>I have 3 activities: A, B, C. I've assigned the launchMode for each activity to singleTask in the Manifest. The documentation of the singleTask lanuchMode says:</p>

<blockquote>
  <p>The system creates a new task and instantiates the activity at the root of the new task. However, if an instance of the activity already exists in a separate task, the system routes the intent to the existing instance through a call to its onNewIntent() method, rather than creating a new instance. Only one instance of the activity can exist at a time.</p>
</blockquote>

<p>If I understand this correctly, each Activity must be launched in a separate task and each activity will be the root of the newly created task. However, this is not the case. I've added the following line to the <em>onCreate</em> method: 
<code>Log.i(TAG, "taskId: " + getTaskId());</code>
and each activity has the same taskId number.</p>

<p>Am I missing something?</p>
