Chore: update dependencies

This commit is contained in:
kr328
2021-11-14 19:17:06 +08:00
parent 69f8ff2688
commit 3397cdd95f
7 changed files with 20 additions and 14 deletions

View File

@@ -29,6 +29,7 @@ class DynamicNotificationModule(service: Service) : Module<Unit>(service) {
.setOnlyAlertOnce(true)
.setShowWhen(false)
.setContentTitle("Not Selected")
.setForegroundServiceBehavior(NotificationCompat.FOREGROUND_SERVICE_IMMEDIATE)
.setContentIntent(
PendingIntent.getActivity(
service,

View File

@@ -23,6 +23,7 @@ class StaticNotificationModule(service: Service) : Module<Unit>(service) {
.setColor(service.getColorCompat(R.color.color_clash))
.setOnlyAlertOnce(true)
.setShowWhen(false)
.setForegroundServiceBehavior(NotificationCompat.FOREGROUND_SERVICE_IMMEDIATE)
.setContentIntent(
PendingIntent.getActivity(
service,