Update AudioFocusHelperImpl.java
This commit is contained in:
parent
62038af20e
commit
367b4971f9
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ public class AudioFocusHelperImpl implements AudioManager.OnAudioFocusChangeList
|
|||
@Override
|
||||
public boolean abandonFocus(Context context, int streamType)
|
||||
{
|
||||
AudioManager mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
|
||||
return AudioManager.AUDIOFOCUS_REQUEST_GRANTED == mAudioManager.abandonAudioFocus(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue