Alert errors once

pull/146/head
M66B 7 years ago
parent 4145375e8b
commit fcd818aff4

@ -596,6 +596,7 @@ public class ServiceSynchronize extends LifecycleService {
.setAutoCancel(false) .setAutoCancel(false)
.setShowWhen(true) .setShowWhen(true)
.setPriority(Notification.PRIORITY_MAX) .setPriority(Notification.PRIORITY_MAX)
.setOnlyAlertOnce(true)
.setCategory(Notification.CATEGORY_ERROR) .setCategory(Notification.CATEGORY_ERROR)
.setVisibility(Notification.VISIBILITY_SECRET); .setVisibility(Notification.VISIBILITY_SECRET);

Loading…
Cancel
Save