1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 09:08:49 -05:00

. Now displays the number of new messages on the new email notification icon

This commit is contained in:
Bao-Long Nguyen-Trong 2009-02-01 07:20:49 +00:00
parent 41dc1ca8d8
commit f4c8f88251

View File

@ -259,6 +259,7 @@ public class MailService extends Service {
Notification notif = new Notification(R.drawable.stat_notify_email_generic, Notification notif = new Notification(R.drawable.stat_notify_email_generic,
getString(R.string.notification_new_title), System.currentTimeMillis() + (index*1000)); getString(R.string.notification_new_title), System.currentTimeMillis() + (index*1000));
notif.number = (int)accountsWithNewMail.get(thisAccount.getUuid());
Intent i = FolderMessageList.actionHandleAccountIntent(context, thisAccount, Email.INBOX); Intent i = FolderMessageList.actionHandleAccountIntent(context, thisAccount, Email.INBOX);