Change the uri extras to be parselables
Add the unread count extra Change-Id: Ie92e21949ada0c7b0515d4826750f667fcc9b34a
This commit is contained in:
parent
3b61ac51f1
commit
81075355b2
@ -737,9 +737,11 @@ public class NotificationController {
|
||||
// Required by UIProvider
|
||||
i.setType(EmailProvider.EMAIL_APP_MIME_TYPE);
|
||||
i.putExtra(UIProvider.UpdateNotificationExtras.EXTRA_FOLDER,
|
||||
EmailProvider.uiUriString("uifolder", mailboxId));
|
||||
Uri.parse(EmailProvider.uiUriString("uifolder", mailboxId)));
|
||||
i.putExtra(UIProvider.UpdateNotificationExtras.EXTRA_ACCOUNT,
|
||||
EmailProvider.uiUriString("uiaccount", m.mAccountKey));
|
||||
Uri.parse(EmailProvider.uiUriString("uiaccount", m.mAccountKey)));
|
||||
i.putExtra(UIProvider.UpdateNotificationExtras.EXTRA_UPDATED_UNREAD_COUNT,
|
||||
unreadCount);
|
||||
// Required by our notification controller
|
||||
i.putExtra(NEW_MAIL_MAILBOX_ID, mailboxId);
|
||||
i.putExtra(NEW_MAIL_MESSAGE_ID, newMessageId);
|
||||
|
Loading…
Reference in New Issue
Block a user