[Sync] Lower the priority of sync notification.

This commit is contained in:
Kuba Szczodrzyński 2020-01-20 23:10:35 +01:00
parent 67d4d0f898
commit 10c57d2272

View File

@ -23,6 +23,9 @@ class EdziennikNotification(val app: App) {
NotificationCompat.Builder(app, ApiService.NOTIFICATION_API_CHANNEL_ID)
.setSmallIcon(R.drawable.ic_notification)
.setPriority(PRIORITY_MIN)
.setDefaults(0)
.setSound(null)
.setVibrate(longArrayOf(0))
.setOngoing(true)
.setLocalOnly(true)
}