title: Android Studio - Kill Process Restarts App?
body: <p>I am not sure why this is happening, but when I use Android studio and click the red x to terminate my application, it will restart my application to the main activity. I noticed it only happens when I have progressed to another activity from the main activity.</p>
  
  <p>For example, if I try to kill the process when I am looking at the Activity A screen, the process is killed fine with no restart but if I kill the process when I am looking at Activity B pressed from a button on Activity A it will restart the process.</p>
  
  <p>Any reason why this happens?</p>