We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc8efa6 commit 066d2bcCopy full SHA for 066d2bc
android/src/main/java/com/getcapacitor/community/audio/NativeAudio.java
@@ -54,9 +54,6 @@ public void load() {
54
super.load();
55
56
this.audioManager = (AudioManager) getBridge().getActivity().getSystemService(Context.AUDIO_SERVICE);
57
- if (this.audioManager != null) {
58
- this.audioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN);
59
- }
60
}
61
62
@Override
0 commit comments