Activity not showing in list of recent apps when launched from a widget
<p>I have created an app widget which, when clicked, launches an Activity in my application.</p>

<p>The activity it launches is <strong>NOT</strong> the main launcher activity (as set in the application manifest).</p>

<pre><code>&lt;intent-filter&gt;
    &lt;action android:name="android.intent.action.MAIN" /&gt;
    &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
&lt;/intent-filter&gt;
</code></pre>

<p>The activity I'm launching has launchMode="singleTop" (may be relevant)</p>

<p>If I launch the app from the app launcher, then press home and then the recent apps button, the app is there. 
I then remove the app from recent activities list or force close it.</p>

<p>If I then click on my widget, the activity launches fine.
I then press Home and then the app does not appear in the list of recent apps.</p>

<p>Any ideas?</p>
