Will android:alwaysRetainTaskState flag save the activity intent?
<p>Suppose the current task stack of my app P contains activities: A B. A started B with some intent i.</p>

<p>A is defined with android:alwaysRetainTaskState flag. </p>

<p>Then user switched to other app, and after a while the process of P is killed by OS.</p>

<p>Then user started P from home screen. Since A has android:alwaysRetainTaskState flag, the stack will be restored to A B, and B is visible. My understanding is that, only B.onCreate() will be called and A.onCreate() will not be called. Am I right?</p>

<p>Besides, at the moment, does B still have the intent i? That is, when B calls getIntent(), will getIntent() returns null or an intent object, i?</p>

<p>Thanks!</p>
