mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Explicitly set defaults for service notifications
This commit is contained in:
@@ -141,6 +141,7 @@ public class ServiceExternal extends Service {
|
||||
.setContentTitle(getString(R.string.tile_synchronize))
|
||||
.setAutoCancel(false)
|
||||
.setShowWhen(false)
|
||||
.setDefaults(0) // disable sound on pre Android 8
|
||||
.setPriority(NotificationCompat.PRIORITY_MIN)
|
||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET)
|
||||
|
||||
Reference in New Issue
Block a user