From c5ea3f522ac835907ec48e117e7918802950d595 Mon Sep 17 00:00:00 2001 From: Todd Kennedy Date: Thu, 7 Apr 2011 14:42:39 -0700 Subject: [PATCH] Using the wrong selection for Exchange accounts Exchange accounts support nested folders, so, we need to use the selection that excludes any mailboxes with IDs greater than 0. Otherwise, we see all mailboxes on the account. Change-Id: If8c2085458176e8bd87013e3b598bd7740c652b2 --- src/com/android/email/activity/MailboxFragmentAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/email/activity/MailboxFragmentAdapter.java b/src/com/android/email/activity/MailboxFragmentAdapter.java index 78996b390..e4b784ed2 100644 --- a/src/com/android/email/activity/MailboxFragmentAdapter.java +++ b/src/com/android/email/activity/MailboxFragmentAdapter.java @@ -172,7 +172,7 @@ import android.widget.TextView; // STOPSHIP remove when legacy protocols support folders; parent key must always be set MailboxFragmentLoader(Context context, long accountId) { super(context, EmailContent.Mailbox.CONTENT_URI, - MailboxesAdapter.PROJECTION, MAILBOX_SELECTION, + MailboxesAdapter.PROJECTION, MAILBOX_SELECTION_NO_PARENT, new String[] { Long.toString(accountId) }, MAILBOX_ORDER_BY); mContext = context;