title: Differentiate between Android killing the app and user swiping it off on the recent apps list
body: <p>I am working on a project, where while being on a specific Activity we show a local sticky notification. That should also be the case when the app is minimized. What I have to accomplish is to remove the local notification whenever the app is killed (by Android, because of memory lack or by the user, with a swipe from the recent apps list).</p>
  
  <p>Usually <code>onDestroy</code> would be called whenever Android takes the Activity to open some space. That is fine in one of the cases, however swiping an app from the recent app lists doesn't call the <code>onDestroy</code> and the sticky notification stays. </p>
  
  <p>What I did is, I implemented an empty Service which would force the <code>onDestroy</code> when the app is killed (both swipe and system kill) so I can get my notification removed.</p>
  
  <p>However, what I would like to do is to differentiate between the swipes and system kill.  </p>
  
  <p>Is this even possible?</p>