Android: Unexpected recent apps behavior
<p>Our app has 2 Activities- A <code>MainActivity</code> (associated with Launcher icon) and an <code>AuxActivity</code> for handling URI events.</p>

<p>I'm seeing an issue with this scenario, with my app initially exited:</p>

<ol>
<li><p>Open Browser, click on a URI to launch the <code>AuxActivity</code>.</p></li>
<li><p><code>AuxActivity</code> exits (calls finish()), user returns to Browser.</p></li>
<li><p>User brings up recent Apps (long-press home), and selects my app.</p></li>
</ol>

<p>Instead of starting <code>MainActivity</code>, I'm seeing <code>AuxActivity</code> being started with the same intent that represents a URI click (<code>android.intent.action.VIEW</code>). </p>

<p>Now instead of step 3, if the user were to open my app through its Home Screen icon, I get back to <code>MainActivity</code>, as expected.</p>

<p>How can I get step 3 to launch <code>MainActivity</code> instead?</p>
