title: Kill app after 'Home' is pressed (stop it from just pausing)
body: <p>Whenever the home button is pressed, onPause is called, however I have set onPause to handle pausing a drawing thread when a dialog is opened. This means that when you press the home button, it pauses the drawing thread and keeps the current activity open, however I want to close the activity/app. How can I stop the home button from calling onPause and make it finish the Activity?</p>
  
  <p>EDIT: I have just realised that the app is no longer visible, so onStop() should be called, however it is not. What could be causing this?</p>