onResume not called after recreate in Activity
<p>I'm calling <code>recreate</code> in <code>onActivityResult</code> of <code>MainActivity</code> when certain changes are made in the app settings. After recreation, <code>onResume</code> is not called. </p>

<p>I'm also getting the error:</p>

<pre><code>E/ActivityThread: Performing pause of activity that is not resumed
</code></pre>

<p>From <a href="https://stackoverflow.com/questions/10844112/runtimeexception-performing-pause-of-activity-that-is-not-resumed">this</a> question, I understood that this function can't be called from <code>onResume</code>. But I'm calling them from <code>onActivityResult</code>. Also using handler to call <code>recreate</code> resolves the problem, but causes a blink that looks bad to the user. What could be the possibly wrong here? How can I use <code>recreate</code> without a <code>Handler</code>?</p>

<p>Any ideas will be appreciated. Thanks!</p>