mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Explicitly set defaults for service notifications
This commit is contained in:
@@ -717,6 +717,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
.setAutoCancel(false)
|
||||
.setShowWhen(false)
|
||||
.setPriority(NotificationCompat.PRIORITY_MIN)
|
||||
.setDefaults(0) // disable sound on pre Android 8
|
||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET)
|
||||
.setLocalOnly(true);
|
||||
|
||||
Reference in New Issue
Block a user