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
This commit is contained in:
parent
007d0be4ed
commit
c5ea3f522a
@ -172,7 +172,7 @@ import android.widget.TextView;
|
|||||||
// STOPSHIP remove when legacy protocols support folders; parent key must always be set
|
// STOPSHIP remove when legacy protocols support folders; parent key must always be set
|
||||||
MailboxFragmentLoader(Context context, long accountId) {
|
MailboxFragmentLoader(Context context, long accountId) {
|
||||||
super(context, EmailContent.Mailbox.CONTENT_URI,
|
super(context, EmailContent.Mailbox.CONTENT_URI,
|
||||||
MailboxesAdapter.PROJECTION, MAILBOX_SELECTION,
|
MailboxesAdapter.PROJECTION, MAILBOX_SELECTION_NO_PARENT,
|
||||||
new String[] { Long.toString(accountId) },
|
new String[] { Long.toString(accountId) },
|
||||||
MAILBOX_ORDER_BY);
|
MAILBOX_ORDER_BY);
|
||||||
mContext = context;
|
mContext = context;
|
||||||
|
Loading…
Reference in New Issue
Block a user