Notify on correct account when mailboxes are added

Change-Id: I511aebf76036a2e977bb63bce2d90206c45817f5
This commit is contained in:
Marc Blank 2012-04-23 11:39:12 -07:00
parent 571547336e
commit 2f49645c73
1 changed files with 1 additions and 1 deletions

View File

@ -1041,7 +1041,7 @@ public class EmailProvider extends ContentProvider {
// Notify the account when a new mailbox is added
Long accountId = values.getAsLong(MailboxColumns.ACCOUNT_KEY);
if (accountId != null && accountId.longValue() > 0) {
notifyUI(UIPROVIDER_ACCOUNT_NOTIFIER, id);
notifyUI(UIPROVIDER_ACCOUNT_NOTIFIER, accountId);
}
//$FALL-THROUGH$
case ACCOUNT: