void abandonFocus() {

        if (mAudioManager == null) {
            return;
        }

        mStartRequested = false;
        mAudioManager.abandonAudioFocus(this);
    }
Requests the system to drop the audio focus
app/src/main/java/com/sunnyweather/android/util/dkplayer/AudioFocusHelper.java