Android - onStop() will be called with a delay
<p>I found my activities <code>onStop()</code> method will be called with a less than 10 seconds delay. I've never seen before this behavior.</p>
<blockquote>
<p><strong>Note :-</strong> The activity is <code>singleTop</code> and it starts with <code>Intent.FLAG_ACTIVITY_REORDER_TO_FRONT</code> flag.</p>
<p><strong>Note :-</strong> I'm using Build Tools v23.0.2.</p>
</blockquote>
<p>The delay wasn't before and the method would be called immediately.</p>