The guidelines for Handling HDMI Events says:
When the TV is powered ON or HDMI cable connected, playback should remain paused until the user explicitly presses PLAY button on the remote.
How can this be done? It seems that whenever an HDMI disconnect happens, the app's onPause and onStop events fire, causing the app to just quit. Is there a way to prevent the app from quitting when an HDMI disconnect happens? I am able to see the HDMI disconnect happen with a listener, but the app just quits very soon after the broadcast is received.