diff options
author | Scott Kennedy <skennedy@google.com> | 2013-05-22 18:35:17 -0700 |
---|---|---|
committer | Scott Kennedy <skennedy@google.com> | 2013-05-22 18:35:17 -0700 |
commit | 7f8aed6bea276d6069abbfbdb25263a9ec92a684 (patch) | |
tree | 337bf67aa9ba512cde2e0fa10bd80222c704e37e /src/com/android/mail/MailIntentService.java | |
parent | 5b582622b8e98cd4d47274df8a7a0b56d8f595f8 (diff) | |
download | android_packages_apps_UnifiedEmail-7f8aed6bea276d6069abbfbdb25263a9ec92a684.tar.gz android_packages_apps_UnifiedEmail-7f8aed6bea276d6069abbfbdb25263a9ec92a684.tar.bz2 android_packages_apps_UnifiedEmail-7f8aed6bea276d6069abbfbdb25263a9ec92a684.zip |
Fix up some notification cancelling code
Add a method to cancel all notifications for one account, and ensure
that cancelling Folder notifications actually cancels the
notifications.
Bug: 7935576
Change-Id: I5d35665efdfe98a2a63692a00b2e5567d6d482a4
Diffstat (limited to 'src/com/android/mail/MailIntentService.java')
-rw-r--r-- | src/com/android/mail/MailIntentService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/mail/MailIntentService.java b/src/com/android/mail/MailIntentService.java index 065e5fd7e..2fa0717a9 100644 --- a/src/com/android/mail/MailIntentService.java +++ b/src/com/android/mail/MailIntentService.java @@ -66,7 +66,7 @@ public class MailIntentService extends IntentService { final Account account = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); final Folder folder = intent.getParcelableExtra(Utils.EXTRA_FOLDER); - NotificationUtils.clearFolderNotification(this, account, folder); + NotificationUtils.clearFolderNotification(this, account, folder, true /* markSeen */); } else if (ACTION_RESEND_NOTIFICATIONS.equals(action)) { final Uri accountUri = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT_URI); final Uri folderUri = intent.getParcelableExtra(Utils.EXTRA_FOLDER_URI); |