make sure speaker is off after call is closed
This commit is contained in:
@ -626,6 +626,10 @@ class MainActivity : AppCompatActivity() {
|
||||
val speakerIcon = findViewById(R.id.speakerIcon) as ActionMenuItemView
|
||||
speakerIcon.setBackgroundColor(ContextCompat.getColor(applicationContext,
|
||||
R.color.colorPrimary))
|
||||
if (BaresipService.speakerPhone) {
|
||||
baresipService.setAction("ToggleSpeaker")
|
||||
startService(baresipService)
|
||||
}
|
||||
}
|
||||
"message" -> {
|
||||
val peerUri = params[1]
|
||||
|
||||
Reference in New Issue
Block a user