From e39a95f59b458c2b310fc6971ba88cd0c05da58a Mon Sep 17 00:00:00 2001 From: satok Date: Thu, 1 Oct 2009 17:29:32 +0900 Subject: [PATCH] Update unread count of outbox when messages are sent. BUG: 2158497 --- src/com/android/email/activity/AccountFolderList.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/android/email/activity/AccountFolderList.java b/src/com/android/email/activity/AccountFolderList.java index a0cc83e4f..b321dfe29 100644 --- a/src/com/android/email/activity/AccountFolderList.java +++ b/src/com/android/email/activity/AccountFolderList.java @@ -668,6 +668,9 @@ public class AccountFolderList extends ListActivity public void sendMailCallback(MessagingException result, long accountId, long messageId, int progress) { + if (progress == 100) { + updateAccounts(); + } } private void updateProgress(MessagingException result, int progress) {