From 16176e5bb73300a06f7f7d15019951c0add40740 Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Thu, 31 Jul 2014 10:01:52 -0700 Subject: [PATCH] Imap folders are case sensitive For real this time b/16686642 Change-Id: Ib484c2ac3505ff35bc643bbc51597f1ceb4e7f7e (cherry picked from commit 60e5abbc563ca7ac963bbcb670e474c6e331b52d) --- src/com/android/email/LegacyConversions.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/com/android/email/LegacyConversions.java b/src/com/android/email/LegacyConversions.java index b9e8a9860..3de9b68cc 100644 --- a/src/com/android/email/LegacyConversions.java +++ b/src/com/android/email/LegacyConversions.java @@ -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) {