From ce9a84e8fdb99470757ee500f2bbb609ff93ccfb Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 8 Aug 2010 19:35:18 +0000 Subject: [PATCH] Quick updates from a code review pass by cketti --- src/com/fsck/k9/controller/MessagingController.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/com/fsck/k9/controller/MessagingController.java b/src/com/fsck/k9/controller/MessagingController.java index 4e6b7ae14..7d20b6194 100644 --- a/src/com/fsck/k9/controller/MessagingController.java +++ b/src/com/fsck/k9/controller/MessagingController.java @@ -1509,13 +1509,6 @@ public class MessagingController implements Runnable unsyncedMessages.clear(); - - - - - - - /* * Grab the content of the small messages first. This is going to * be very fast and at very worst will be a single up of a few bytes and a single @@ -1526,9 +1519,6 @@ public class MessagingController implements Runnable // fp.add(FetchProfile.Item.FLAGS); // fp.add(FetchProfile.Item.ENVELOPE); - - - downloadSmallMessages(account, remoteFolder, localFolder, smallMessages, progress, unreadBeforeStart, newMessages, todo, fp); @@ -4643,7 +4633,7 @@ public class MessagingController implements Runnable Intent i = FolderList.actionHandleNotification(context, account, account.getAutoExpandFolderName()); PendingIntent pi = PendingIntent.getActivity(context, 0, i, 0); - String accountNotice = context.getString(R.string.notification_new_one_account_fmt, (previousUnreadMessageCount + newMessageCount.get()), account.getDescription()); + String accountNotice = context.getString(R.string.notification_new_one_account_fmt, notif.number, account.getDescription()); notif.setLatestEventInfo(context, accountNotice, messageNotice, pi); // Only ring or vibrate if we have not done so already on this