Which activity will on the front if the process was re-started?
<p>Suppose my application P started Activity A, and A started Activity B, then the activity stack contained A and B, with B at the top.</p>

<p>After that, I opened other apps by pressing Home button. Suppose after a while, the process of application P is killed by the OS. Then, I press Home button to select application P. At this time, which activity will be brought to the front, Activity A or Activity B?</p>

<p>Thanks.</p>
