Null intent in onActivityResult(int requestCode, int resultCode, Intent data)
<p>I'm starting an Activity for result. And on that Activity's onBackPressed() event I'm setting the intent and result. </p>

<pre><code>@Override
public void onBackPressed() {

    super.onBackPressed();
    Intent intent = new Intent(BrowseSome.this,
            ConfigurationSome.class);
    intent.putParcelableArrayListExtra("SomeList", somethings);
    setResult(RESULT_OK, intent);

}
</code></pre>

<p>But in my onAcivityResult(int requestCode, int resultCode, Intent data) I'm getting null Intent. Why is it so? </p>

<p>Earlier is used to do this on a Button click event and it worked fine. But i have removed this button from the activity and now i want the result to be set onBackPressed() event. </p>

<p>-Thanks</p>
