Don't delay showing the notification for the Push foreground service
This commit is contained in:
parent
041330ae1f
commit
9194190fa9
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ internal class PushNotificationManager(
|
||||||
.setBadgeIconType(NotificationCompat.BADGE_ICON_NONE)
|
.setBadgeIconType(NotificationCompat.BADGE_ICON_NONE)
|
||||||
.setLocalOnly(true)
|
.setLocalOnly(true)
|
||||||
.setShowWhen(false)
|
.setShowWhen(false)
|
||||||
|
.setForegroundServiceBehavior(NotificationCompat.FOREGROUND_SERVICE_IMMEDIATE)
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue