Imap folders are case sensitive

For real this time

b/16686642

Change-Id: Ib484c2ac3505ff35bc643bbc51597f1ceb4e7f7e
(cherry picked from commit 60e5abbc56)
This commit is contained in:
Tony Mantler 2014-07-31 10:01:52 -07:00 committed by Andy Huang
parent e495f17a4f
commit 16176e5bb7
1 changed files with 6 additions and 6 deletions

View File

@ -517,22 +517,22 @@ public class LegacyConversions {
if (sServerMailboxNames.size() == 0) {
// preload the hashmap, one time only
sServerMailboxNames.put(
context.getString(R.string.mailbox_name_server_inbox).toLowerCase(),
context.getString(R.string.mailbox_name_server_inbox),
Mailbox.TYPE_INBOX);
sServerMailboxNames.put(
context.getString(R.string.mailbox_name_server_outbox).toLowerCase(),
context.getString(R.string.mailbox_name_server_outbox),
Mailbox.TYPE_OUTBOX);
sServerMailboxNames.put(
context.getString(R.string.mailbox_name_server_drafts).toLowerCase(),
context.getString(R.string.mailbox_name_server_drafts),
Mailbox.TYPE_DRAFTS);
sServerMailboxNames.put(
context.getString(R.string.mailbox_name_server_trash).toLowerCase(),
context.getString(R.string.mailbox_name_server_trash),
Mailbox.TYPE_TRASH);
sServerMailboxNames.put(
context.getString(R.string.mailbox_name_server_sent).toLowerCase(),
context.getString(R.string.mailbox_name_server_sent),
Mailbox.TYPE_SENT);
sServerMailboxNames.put(
context.getString(R.string.mailbox_name_server_junk).toLowerCase(),
context.getString(R.string.mailbox_name_server_junk),
Mailbox.TYPE_JUNK);
}
if (mailboxName == null || mailboxName.length() == 0) {