am 4bc81bb2: Fix build breakage

Merge commit '4bc81bb2863101aad460a24c04abd08370adfa6e' into eclair-mr2-plus-aosp

* commit '4bc81bb2863101aad460a24c04abd08370adfa6e':
  Fix build breakage
This commit is contained in:
satok 2009-10-19 12:26:17 -07:00 committed by Android Git Automerger
commit 4ee9d9033c

View File

@ -752,9 +752,9 @@ public class AccountFolderList extends ListActivity implements OnItemClickListen
} }
TextView unreadCountView = (TextView) view.findViewById(R.id.new_message_count); TextView unreadCountView = (TextView) view.findViewById(R.id.new_message_count);
TextView allCountView = (TextView) view.findViewById(R.id.all_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 the unread count is zero, not to show countView.
if (count > 0) { if (count > 0) {
int id = cursor.getInt(MAILBOX_COLUMN_ID);
if (id == Mailbox.QUERY_ALL_FAVORITES if (id == Mailbox.QUERY_ALL_FAVORITES
|| id == Mailbox.QUERY_ALL_DRAFTS || id == Mailbox.QUERY_ALL_DRAFTS
|| id == Mailbox.QUERY_ALL_OUTBOX) { || id == Mailbox.QUERY_ALL_OUTBOX) {