Is there something like Clear Bottom in Intent Flag?
<p>Activity A is the home page of my application.</p>

<pre><code>A -&gt; B -&gt; C
</code></pre>

<p>C starts A with FLAG_ACTIVITY_CLEAR_TOP to get the home page A correctly. This works fine and the stack simply becomes,</p>

<pre><code>A
</code></pre>

<p>But B can be invoked directly using Notification Manager. </p>

<pre><code>B -&gt; C -&gt; A
</code></pre>

<p>So even I use FLAG_ACTIVITY_CLEAR_TOP flag while starting A in C, the B and C still exists in Stack before A(home page) and on pressing back button from A, it goes back to B and C.</p>

<p>I dont want this behavior. On starting activity A from C, The stack only should have A. How canI do this?</p>
