After app is garbage collected how to restart it from first activity
<p>If app is put to background and then GC'ed because of low RAM I would like the app to restart from the first activity and not the activity it was in before it was put to background.</p>

<p>I know I could NULL checks for certain objects and if they are I would just start the first activity with clear top added. </p>

<p>I am looking for a more elegant way</p>
