No need to set audio stuff when call is ringing
This commit is contained in:
@ -519,10 +519,6 @@ class BaresipService: Service() {
|
||||
return
|
||||
}
|
||||
"call ringing" -> {
|
||||
am.mode = AudioManager.MODE_IN_COMMUNICATION
|
||||
requestAudioFocus(AudioAttributes.USAGE_VOICE_COMMUNICATION,
|
||||
AudioAttributes.CONTENT_TYPE_SPEECH)
|
||||
setCallVolume()
|
||||
playRingBack()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user