Prevent apps from pausing Google Play Music Some applications tend to pause my music. I know it is paused because the Google Play Music widget shows the play button and pressing it resumes the song. Is it possible to remove that function or privilege?

Music : Google Play Music

App : Learn SQL

Phone is LG G3.
Android 5.0

Phone is not rooted. Problem is not intermittent and can be reproduced by clicking on a course inside the Learn SQL app while music is playing.

I am also using Avast Battery Saver.
The behavior is determined by Play Music, which gets notified when another app requests audio focus (as per the documentation).  Unless there is an option in Play Music's settings to disable this behavior, or perhaps a mute function in the "problem" app, there's nothing you can do about it.

It's also possible for other apps to pause by sending an ACTION_MEDIA_BUTTON intent, which is not protected &mdash; which again means there's nothing you can do about it unless those apps have an option to not send it.