Prevent call notification from not being removed when call ends if service channel is disabled & background mode is enabled
This commit is contained in:
parent
367700e33f
commit
1204275b9a
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ class NotificationsManager(private val context: Context) {
|
|||
}
|
||||
|
||||
fun stopCallForeground() {
|
||||
if (service != null && currentForegroundServiceNotificationId != SERVICE_NOTIF_ID && !corePreferences.keepServiceAlive) {
|
||||
if (service != null && currentForegroundServiceNotificationId != SERVICE_NOTIF_ID) {
|
||||
Log.i("[Notifications Manager] Stopping call notification [$currentForegroundServiceNotificationId] used as foreground service")
|
||||
stopForegroundNotification()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue