mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-05-01 12:26:26 +00:00
Try to prevent foreground service notification to stay visible after call ends
This commit is contained in:
parent
3ae9657be0
commit
c76e15e483
1 changed files with 5 additions and 0 deletions
|
|
@ -191,6 +191,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() {
|
val chatListener: ChatMessageListener = object : ChatMessageListenerStub() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue