Fix inboxes in POP for non-english.

Same as I27b422b4b9a3568c899beda41c96e61eb77c4ad3
but for POP.

Bug: 8393126
Change-Id: Ifa7ef3aa4080ec4c39309f988f041344fc4e8b54
This commit is contained in:
Yu Ping Hu 2013-03-14 20:29:10 -07:00
parent b3b47ef971
commit 3e88d65aa8
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ public class Pop3Store extends Store {
@Override
public Folder[] updateFolders() {
String inboxName = mContext.getString(R.string.mailbox_name_display_inbox);
String inboxName = mContext.getString(R.string.mailbox_name_server_inbox);
Mailbox mailbox = Mailbox.getMailboxForPath(mContext, mAccount.mId, inboxName);
updateMailbox(mailbox, mAccount.mId, inboxName, '\0', true, Mailbox.TYPE_INBOX);
// Force the parent key to be "no mailbox" for the mail POP3 mailbox
@ -239,7 +239,7 @@ public class Pop3Store extends Store {
bundle.putInt(EmailServiceProxy.VALIDATE_BUNDLE_RESULT_CODE, result);
return bundle;
}
@Override
public synchronized void open(OpenMode mode) throws MessagingException {
if (mTransport.isOpen()) {