mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-18 21:06:44 -06:00
[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)
|
||||
.setSmallIcon(R.drawable.ic_notification)
|
||||
.setPriority(PRIORITY_MIN)
|
||||
.setDefaults(0)
|
||||
.setSound(null)
|
||||
.setVibrate(longArrayOf(0))
|
||||
.setOngoing(true)
|
||||
.setLocalOnly(true)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user