From 4bc81bb2863101aad460a24c04abd08370adfa6e Mon Sep 17 00:00:00 2001 From: satok Date: Tue, 20 Oct 2009 04:15:13 +0900 Subject: [PATCH] Fix build breakage --- src/com/android/email/activity/AccountFolderList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/email/activity/AccountFolderList.java b/src/com/android/email/activity/AccountFolderList.java index ac9e6cc04..db15b5b06 100644 --- a/src/com/android/email/activity/AccountFolderList.java +++ b/src/com/android/email/activity/AccountFolderList.java @@ -752,9 +752,9 @@ public class AccountFolderList extends ListActivity implements OnItemClickListen } TextView unreadCountView = (TextView) view.findViewById(R.id.new_message_count); TextView allCountView = (TextView) view.findViewById(R.id.all_message_count); + int id = cursor.getInt(MAILBOX_COLUMN_ID); // If the unread count is zero, not to show countView. if (count > 0) { - int id = cursor.getInt(MAILBOX_COLUMN_ID); if (id == Mailbox.QUERY_ALL_FAVORITES || id == Mailbox.QUERY_ALL_DRAFTS || id == Mailbox.QUERY_ALL_OUTBOX) {