Use default notification priority

This commit is contained in:
M66B 2018-11-06 09:09:43 +00:00
parent d55d0ac0c9
commit d8e4a97f88
1 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ public class ServiceSynchronize extends LifecycleService {
.setNumber(messages.size()) .setNumber(messages.size())
.setShowWhen(false) .setShowWhen(false)
.setDeleteIntent(piClear) .setDeleteIntent(piClear)
.setPriority(Notification.PRIORITY_HIGH) .setPriority(Notification.PRIORITY_DEFAULT)
.setCategory(Notification.CATEGORY_STATUS) .setCategory(Notification.CATEGORY_STATUS)
.setVisibility(Notification.VISIBILITY_PRIVATE) .setVisibility(Notification.VISIBILITY_PRIVATE)
.setGroup(BuildConfig.APPLICATION_ID) .setGroup(BuildConfig.APPLICATION_ID)
@ -457,7 +457,7 @@ public class ServiceSynchronize extends LifecycleService {
.setSound(uri) .setSound(uri)
.setWhen(message.sent == null ? message.received : message.sent) .setWhen(message.sent == null ? message.received : message.sent)
.setDeleteIntent(piDelete) .setDeleteIntent(piDelete)
.setPriority(Notification.PRIORITY_HIGH) .setPriority(Notification.PRIORITY_DEFAULT)
.setCategory(Notification.CATEGORY_STATUS) .setCategory(Notification.CATEGORY_STATUS)
.setVisibility(Notification.VISIBILITY_PRIVATE) .setVisibility(Notification.VISIBILITY_PRIVATE)
.setGroup(BuildConfig.APPLICATION_ID) .setGroup(BuildConfig.APPLICATION_ID)