Do not set MODE_IN_COMMUNICATION in focus request
This commit is contained in:
@ -1637,7 +1637,6 @@ class BaresipService: Service() {
|
||||
.build()
|
||||
if (AudioManagerCompat.requestAudioFocus(am, audioFocusRequest!!) == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) {
|
||||
Log.d(TAG, "requestAudioFocus granted")
|
||||
am.mode = MODE_IN_COMMUNICATION
|
||||
if (isBluetoothHeadsetConnected(ctx))
|
||||
startBluetoothSco(ctx, 250L, 3)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user