mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-31 19:41:19 +00:00
Send alert once
This commit is contained in:
parent
3248eb5b7a
commit
3a9b9a3c34
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue