Browse Source

Explicitly auto cancel new messages notification

main
M66B 6 years ago
parent
commit
fb5967623f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 1
- 0
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -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…
Cancel
Save