Who gets the Activity result when an Activity is re-constructed on configuration change?
<p>As I understand it, if I don't explicitly tell Android that I want to handle a configuration change in an Activity, it will get torn down and re-created on, say, an orientation change.</p>

<p>Let's say that I have object O that's an instance of some class <code>MyCustomClass</code> in Activity A. When the user presses a button in Activity A's layout, we call <code>O.startActivityB</code>. That method will start Activity B. When Activity B gets re-created on an orientation change, I can tell (some flag was set in another or something), so Activity B immediately runs this:</p>

<pre><code>setResult(RESULT_CANCELED);
finish();
return;
</code></pre>

<p>Who is Activity B's parent activity at this point? Who gets the result code?</p>
