diff --git a/app/src/main/java/org/linphone/notifications/NotificationsManager.kt b/app/src/main/java/org/linphone/notifications/NotificationsManager.kt index 335d23023..67fd007f2 100644 --- a/app/src/main/java/org/linphone/notifications/NotificationsManager.kt +++ b/app/src/main/java/org/linphone/notifications/NotificationsManager.kt @@ -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() {