mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Explicitly mark service notifications as ongoing
This commit is contained in:
@@ -1314,7 +1314,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
.setDefaults(0) // disable sound on pre Android 8
|
||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET)
|
||||
.setLocalOnly(true);
|
||||
.setLocalOnly(true)
|
||||
.setOngoing(true);
|
||||
|
||||
if (lastAccounts > 0)
|
||||
builder.setContentTitle(getResources().getQuantityString(
|
||||
|
||||
Reference in New Issue
Block a user