Created
April 17, 2017 10:51
-
-
Save markojerkic/177abc4078fb426d53d2affbafb47f93 to your computer and use it in GitHub Desktop.
Abandon audio focus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); | |
AudioManager.OnAudioFocusChangeListener afChangeListener; | |
audioManager.abandonAudioFocus(afChangeListener); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment