How to prevent onResume() function not to be called on finished of its child activity
<p>I have parent Activity.Where i have some code written in onResume() of the parent Activity.Now suppose i went from my  parent Activity to one of its child Activity, then at that instance my  parent Activity is on pause.Now when i again return from my child activity to my parent Activity i don't want my parent activity onResume() to execute.I only want it to execute when the app is exit and when the app is on pause by clicking of home button.</p>

<p>So is it possible to do that.If so can anyone please suggest me.</p>
