Alert errors once

This commit is contained in:
M66B
2018-11-19 17:23:47 +01:00
parent 4145375e8b
commit fcd818aff4

View File

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