Imap folders are case sensitive

For real this time

b/16686642

Change-Id: Ib484c2ac3505ff35bc643bbc51597f1ceb4e7f7e
This commit is contained in:
Tony Mantler 2014-07-31 10:01:52 -07:00
parent 7063124d1d
commit 60e5abbc56
1 changed files with 6 additions and 6 deletions

View File

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