If the user taps the Home key, I can pause my application because the onPause
event fires.
However, if the user long-presses Home, the recent app launcher pops up and my application carries on running behind it.
I want to pause my application in this situation. What can I do?
(NB. I don't want to prevent the long-press of Home or alter its behaviour in any way. My app just needs to know it's happened. It's a game, so I want to pause it.)