I\'m creating a music player app.
In that I am checking if my application loses AudioFocus then the playback will stop. But this is raising one issue that when I pla
Unfortunately IllegalStateExceptions don't trigger the OnErrorListener call. You will have to try/catch around portions of your code for IllegalStateExceptions where they may be triggered.