requests audio focus . returns whether request was successful or not . concode_field_sep MusicFocusable mFocusable concode_elem_sep AudioManager mAM concode_field_sep void onAudioFocusChange concode_elem_sep boolean abandonFocus
boolean function ( ) { return AudioManager . AUDIOFOCUS_REQUEST_GRANTED == mAM . requestAudioFocus ( this , AudioManager . STREAM_MUSIC , AudioManager . AUDIOFOCUS_GAIN ) ; }