mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Enable mic back in Core when last call is ended while it was muted
This commit is contained in:
parent
f53634232d
commit
bf4942d232
1 changed files with 4 additions and 0 deletions
|
|
@ -131,6 +131,10 @@ class CoreContext(val context: Context, coreConfig: Config) {
|
|||
override fun onLastCallEnded(core: Core) {
|
||||
Log.i("[Context] Last call ended")
|
||||
removeCallOverlay()
|
||||
if (!core.isMicEnabled) {
|
||||
Log.w("[Context] Mic was muted in Core, enabling it back for next call")
|
||||
core.isMicEnabled = true
|
||||
}
|
||||
}
|
||||
|
||||
override fun onCallStateChanged(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue