Revert a change from commit b4f3697550c730e74fb2b81a71e700944ed91daa
This commit is contained in:
parent
b24d68ef44
commit
c1f0e624ca
1 changed files with 3 additions and 3 deletions
|
@ -388,12 +388,12 @@ class NotificationsManager(private val context: Context) {
|
|||
.setCustomHeadsUpContentView(notificationLayoutHeadsUp)
|
||||
.build()
|
||||
|
||||
Log.i("[Notifications Manager] Notifying incoming call notification")
|
||||
notify(notifiable.notificationId, notification)
|
||||
|
||||
if (useAsForeground) {
|
||||
Log.i("[Notifications Manager] Notifying incoming call notification for foreground service")
|
||||
startForeground(notifiable.notificationId, notification)
|
||||
} else {
|
||||
Log.i("[Notifications Manager] Notifying incoming call notification")
|
||||
notify(notifiable.notificationId, notification)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue