From 14a64cef863ae7b9b0cc7ec5542bfded0413c683 Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Mon, 21 Jul 2014 10:24:32 -0700 Subject: [PATCH] IMAP mailboxes are case-sensitive b/15694346 Change-Id: I4a59979f40d6118bb9c7e27069ea228ba783a4c3 --- src/com/android/email/LegacyConversions.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/android/email/LegacyConversions.java b/src/com/android/email/LegacyConversions.java index 528358497..b9e8a9860 100644 --- a/src/com/android/email/LegacyConversions.java +++ b/src/com/android/email/LegacyConversions.java @@ -538,8 +538,7 @@ public class LegacyConversions { if (mailboxName == null || mailboxName.length() == 0) { return Mailbox.TYPE_MAIL; } - String lowerCaseName = mailboxName.toLowerCase(); - Integer type = sServerMailboxNames.get(lowerCaseName); + Integer type = sServerMailboxNames.get(mailboxName); if (type != null) { return type; }