Getting old intent extras in onResume() after startActivity(newIntent)
<p>In the calling activity, I have the following code:</p>

<pre><code>Intent intent = new Intent();
intent.setClass(CallingActivity.this, CalledActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra(key, new_value);
startActivity(intent);
</code></pre>

<p>After the    startActivity(intent) is called, the control goes to onResume() of the CalledActivity.</p>

<p>However, in the onResume() of the CalledActivity, getIntent() gives me the old intent and not the new intent as set by the CallingActivity.</p>

<p>How can I get the new intent in onResume() of the CalledActivity??</p>
