mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Send alert once
This commit is contained in:
@@ -205,6 +205,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
.setContentIntent(getPendingIntent(this))
|
||||
.setAutoCancel(false)
|
||||
.setShowWhen(true)
|
||||
.setOnlyAlertOnce(true)
|
||||
.setDefaults(0) // disable sound on pre Android 8
|
||||
.setLocalOnly(true)
|
||||
.setPriority(NotificationCompat.PRIORITY_MIN)
|
||||
|
||||
Reference in New Issue
Block a user