mirror of https://github.com/M66B/FairEmail.git
Use default notification priority
This commit is contained in:
parent
d55d0ac0c9
commit
d8e4a97f88
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue