mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
New message notifications high priority
This commit is contained in:
@@ -375,7 +375,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
.setNumber(messages.size())
|
||||
.setShowWhen(false)
|
||||
.setDeleteIntent(piClear)
|
||||
.setPriority(Notification.PRIORITY_DEFAULT)
|
||||
.setPriority(Notification.PRIORITY_HIGH)
|
||||
.setCategory(Notification.CATEGORY_STATUS)
|
||||
.setVisibility(Notification.VISIBILITY_PRIVATE)
|
||||
.setGroup(BuildConfig.APPLICATION_ID)
|
||||
@@ -457,7 +457,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
.setSound(uri)
|
||||
.setWhen(message.sent == null ? message.received : message.sent)
|
||||
.setDeleteIntent(piDelete)
|
||||
.setPriority(Notification.PRIORITY_DEFAULT)
|
||||
.setPriority(Notification.PRIORITY_HIGH)
|
||||
.setCategory(Notification.CATEGORY_STATUS)
|
||||
.setVisibility(Notification.VISIBILITY_PRIVATE)
|
||||
.setGroup(BuildConfig.APPLICATION_ID)
|
||||
|
||||
Reference in New Issue
Block a user