Imap folders are case sensitive
For real this time
b/16686642
Change-Id: Ib484c2ac3505ff35bc643bbc51597f1ceb4e7f7e
(cherry picked from commit 60e5abbc56
)
This commit is contained in:
parent
e495f17a4f
commit
16176e5bb7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user