mirror of https://github.com/M66B/FairEmail.git
Changed notification categories
This commit is contained in:
parent
fd5f7b3418
commit
54b7c6a3a8
|
@ -2118,7 +2118,7 @@ class Core {
|
|||
.setWhen(message.received)
|
||||
.setDeleteIntent(piIgnore)
|
||||
.setPriority(NotificationCompat.PRIORITY_DEFAULT)
|
||||
.setCategory(NotificationCompat.CATEGORY_MESSAGE)
|
||||
.setCategory(NotificationCompat.CATEGORY_EMAIL)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_PRIVATE)
|
||||
.setOnlyAlertOnce(true);
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ public class ServiceExternal extends Service {
|
|||
.setAutoCancel(false)
|
||||
.setShowWhen(false)
|
||||
.setPriority(NotificationCompat.PRIORITY_MIN)
|
||||
.setCategory(NotificationCompat.CATEGORY_STATUS)
|
||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET);
|
||||
|
||||
return builder;
|
||||
|
|
|
@ -251,7 +251,7 @@ public class ServiceSend extends LifecycleService {
|
|||
.setAutoCancel(false)
|
||||
.setShowWhen(true)
|
||||
.setPriority(NotificationCompat.PRIORITY_MIN)
|
||||
.setCategory(NotificationCompat.CATEGORY_STATUS)
|
||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET);
|
||||
|
||||
if (lastUnsent > 0)
|
||||
|
|
|
@ -283,7 +283,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
.setAutoCancel(false)
|
||||
.setShowWhen(false)
|
||||
.setPriority(NotificationCompat.PRIORITY_MIN)
|
||||
.setCategory(NotificationCompat.CATEGORY_STATUS)
|
||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET);
|
||||
|
||||
if (lastStats.operations > 0)
|
||||
|
|
Loading…
Reference in New Issue