title: Activity's onDestroy() method not called after removing activity from background by swiping
body: <p>I have implemented <code>ActivityLifecycleCallbacks</code> in a private class inside my <code>Application</code> class.</p>
  
  <p>If Home button or Back button is used, lifecycle's <code>onStop()</code> and <code>onPause()</code> methods are getting called. If I kill the activity by swiping out from background, <code>onDestroy()</code> method is not getting called. It gets called when I start my activity next time. I am using <code>moveTaskToBack(true)</code> in case of Back press.</p>
  
  <p>What must be the issue and which lifecycle method should get called when we swipe out from background?</p>