forked from github/szkolny
[Sync] Lower the priority of sync notification.
This commit is contained in:
parent
67d4d0f898
commit
10c57d2272
@ -23,6 +23,9 @@ class EdziennikNotification(val app: App) {
|
|||||||
NotificationCompat.Builder(app, ApiService.NOTIFICATION_API_CHANNEL_ID)
|
NotificationCompat.Builder(app, ApiService.NOTIFICATION_API_CHANNEL_ID)
|
||||||
.setSmallIcon(R.drawable.ic_notification)
|
.setSmallIcon(R.drawable.ic_notification)
|
||||||
.setPriority(PRIORITY_MIN)
|
.setPriority(PRIORITY_MIN)
|
||||||
|
.setDefaults(0)
|
||||||
|
.setSound(null)
|
||||||
|
.setVibrate(longArrayOf(0))
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setLocalOnly(true)
|
.setLocalOnly(true)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user