mirror of https://github.com/M66B/FairEmail.git
Send alert once
This commit is contained in:
parent
3248eb5b7a
commit
3a9b9a3c34
|
@ -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 New Issue