title: How to trigger an event, when app is removed from Recent List in Android
body: <p>I want to restart my app when it is removed from recent list. I have added the restarting code in <code>onDestroy()</code> method. It's working fine in <strong>Android 7</strong> and up. But on <strong>Android 6</strong> and older versions, it's not working. <code>onDestroy()</code> method is called only when back button is pressed. </p>