Android - How to remove activity from recent apps?
<p>I created a custom dialog on my android app. This dialog is an activity with Dialog theme. Now, assume that the app is showing this dialog, User press "Home" to back to Android Home view. Later, user press and hold button <code>Home</code> then choose my app from recent apps. It's will show the dialog again. 
What I want to do here is that the dialog shouldn't show. I want to show the activity which called this dialog.</p>

<p>How can I do this?</p>
