Skip to content

Commit

Permalink
fix(android): don't request audio focus on load (#89)
Browse files Browse the repository at this point in the history
Co-authored-by: jcesarmobile <[email protected]>
  • Loading branch information
nicorac and jcesarmobile authored Jun 28, 2024
1 parent cc8efa6 commit 066d2bc
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ public void load() {
super.load();

this.audioManager = (AudioManager) getBridge().getActivity().getSystemService(Context.AUDIO_SERVICE);
if (this.audioManager != null) {
this.audioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN);
}
}

@Override
Expand Down

0 comments on commit 066d2bc

Please sign in to comment.