Android stack clear without calling another activity
<p>How do I clear the stack without starting another activity? I tried  </p>

<pre><code>testIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
           startActivity(testIntent):
</code></pre>

<p>But it requires me to start another activity. Is there any other way? Please help.</p>
