I have a music player with a noncancellable notification. In my onDestroy, i have a clearNotification method. However when I clear the app by holding the home button and clear recent apps, the music stops but the onDestroy method is not ran because the notification doesn't clear.
So my question is, Is there any method that is ran when user clears "Recent Apps" in Android.