forked from github/szkolny
[Sync] Lower the priority of sync notification.
This commit is contained in:
parent
67d4d0f898
commit
10c57d2272
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue