title: FLAG_ACTIVITY_CLEAR_TOP and onActivityResult
body: <p>My activity stack is A B C, with C at the top. A started B using startActivityForResult().</p>
  
  <p>Now, in C, it starts A and clears the top using the following code:</p>
  
  <pre><code>        finish();
  
          intent = new Intent(this, A.class);
          intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
          startActivity(intent);
  </code></pre>
  
  <p>My question is, will onActivityResult() in A be called after the code above is executed? I expected it will, because B is destroyed after C starts A and clears the top. But, my test code showed that onActivityResult() in A was not called. I am confused. Can someone help?</p>
  
  <p>Thanks.</p>