title: BACK key does not finish activity
body: <p>I am running a service that starts a new activity when specific
  applications are launched.</p>
  
  <p>For example, when I launch sms application, my service detects it by
  checking a top activity package name and starts a new activity.</p>
  
  <p>But the problem is that after starting a new activity, when I finish
  that activity and press BACK button from sms application to go back to
  Home screen, it does not finish my sms application.</p>
  
  <p>Even though the screen is at home(launcher), when I check top activity
  name, sms app is running as the top activity, which means sms app is
  not finished after pressing BACK button.</p>
  
  <p>I use Intent.FLAG_ACTIVITY_NEW_TASK intent flag for starting a new
  activity and finish() to finish it. Does anyone have an idea why my
  BACK button does not finish sms application in this case?</p>
  
  <p>thanks,</p>
  
  <p>777</p>