title: How to prevent onResume() function not to be called on finished of its child activity
body: <p>I have parent <code>Activity</code>, where I have some code written in <code>onResume()</code> of the parent <code>Activity</code>. Now, suppose I went from my parent <code>Activity</code> to one of its child <code>Activity</code>, then at that instance, my parent <code>Activity</code> is on pause. Now when I again return from my child activity to my parent <code>Activity</code> I don't want my parent activity <code>onResume()</code> to execute. I only want it to execute when the app turns off and when the app is on pause by clicking the home button.</p>
  <p>So is it possible to do that? If so can anyone please suggest me?</p>