1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-13 06:38:05 -05:00

Fixes Issue 742

This commit is contained in:
Daniel Applebaum 2009-11-14 14:25:09 +00:00
parent 11a1a09e97
commit 84a1e0647d

View File

@ -3291,6 +3291,9 @@ public class MessagingController implements Runnable {
}
public void notifyAccount(Context context, Account thisAccount, int unreadMessageCount)
{
boolean isNotifyAccount = thisAccount.isNotifyNewMail();
if (isNotifyAccount)
{
String notice = context.getString(R.string.notification_new_one_account_fmt, unreadMessageCount,
thisAccount.getDescription());
@ -3321,6 +3324,7 @@ public class MessagingController implements Runnable {
(NotificationManager)context.getSystemService(Context.NOTIFICATION_SERVICE);
notifMgr.notify(thisAccount.getAccountNumber(), notif);
}
}
public void saveDraft(final Account account, final Message message) {