mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +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)
|
.setSmallIcon(R.drawable.baseline_mail_24)
|
||||||
.setContentTitle(getResources().getQuantityString(R.plurals.title_notification_unseen, messages.size(), messages.size()))
|
.setContentTitle(getResources().getQuantityString(R.plurals.title_notification_unseen, messages.size(), messages.size()))
|
||||||
.setContentIntent(pi)
|
.setContentIntent(pi)
|
||||||
|
.setAutoCancel(true)
|
||||||
.setSound(uri)
|
.setSound(uri)
|
||||||
.setShowWhen(false)
|
.setShowWhen(false)
|
||||||
.setPriority(Notification.PRIORITY_DEFAULT)
|
.setPriority(Notification.PRIORITY_DEFAULT)
|
||||||
|
|
Loading…
Reference in a new issue