mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Explicitly mark service notifications as ongoing
This commit is contained in:
@@ -222,6 +222,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
.setOnlyAlertOnce(!alert)
|
||||
.setDefaults(0) // disable sound on pre Android 8
|
||||
.setLocalOnly(true)
|
||||
.setOngoing(true)
|
||||
.setPriority(NotificationCompat.PRIORITY_MIN)
|
||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET);
|
||||
|
||||
Reference in New Issue
Block a user