Try to prevent foreground service notification to stay visible after call ends
This commit is contained in:
parent
8d5d344c2c
commit
61bfb1fcff
1 changed files with 5 additions and 0 deletions
|
@ -190,6 +190,11 @@ class NotificationsManager(private val context: Context) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun onLastCallEnded(core: Core) {
|
||||
Log.i("[Notifications Manager] Last call ended, make sure foreground service is stopped and notification removed")
|
||||
stopCallForeground()
|
||||
}
|
||||
}
|
||||
|
||||
val chatListener: ChatMessageListener = object : ChatMessageListenerStub() {
|
||||
|
|
Loading…
Reference in a new issue