am 30ab1459: am 14a64cef: IMAP mailboxes are case-sensitive

* commit '30ab1459a2a6885172f033b9ffccfd98521984cf':
  IMAP mailboxes are case-sensitive
This commit is contained in:
Tony Mantler 2014-07-24 23:32:49 +00:00 committed by Android Git Automerger
commit 709df3f45b

View File

@ -538,8 +538,7 @@ public class LegacyConversions {
if (mailboxName == null || mailboxName.length() == 0) { if (mailboxName == null || mailboxName.length() == 0) {
return Mailbox.TYPE_MAIL; return Mailbox.TYPE_MAIL;
} }
String lowerCaseName = mailboxName.toLowerCase(); Integer type = sServerMailboxNames.get(mailboxName);
Integer type = sServerMailboxNames.get(lowerCaseName);
if (type != null) { if (type != null) {
return type; return type;
} }