title: How do I finish a task on Android?
body: <p>I start an activity in a new task and I want to kill the task is when the user leaves it  because I think the task is useless when the user leaves.</p>
  
  <p>How can I achieve this on Android? Setting the finishOnTaskLaunch attribute of the root activity has no effect.</p>