mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 01:06:04 +00:00
Explicitly auto cancel new messages notification
This commit is contained in:
parent
e71a406df8
commit
fb5967623f
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
.setSmallIcon(R.drawable.baseline_mail_24)
|
||||
.setContentTitle(getResources().getQuantityString(R.plurals.title_notification_unseen, messages.size(), messages.size()))
|
||||
.setContentIntent(pi)
|
||||
.setAutoCancel(true)
|
||||
.setSound(uri)
|
||||
.setShowWhen(false)
|
||||
.setPriority(Notification.PRIORITY_DEFAULT)
|
||||
|
|
Loading…
Reference in a new issue