Handle non-ascii folder names properly
Bug: 6992874 Change-Id: I098af4a867256f30b3610e42cadc9651c490abd8
This commit is contained in:
parent
11efcb7a1b
commit
ca1cf24076
@ -1223,9 +1223,9 @@ public class Imap2SyncService extends AbstractSyncService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
Mailbox m = new Mailbox();
|
Mailbox m = new Mailbox();
|
||||||
m.mDisplayName = displayName;
|
m.mDisplayName = decodeFolderName(displayName, null);
|
||||||
m.mAccountKey = mAccountId;
|
m.mAccountKey = mAccountId;
|
||||||
m.mServerId = serverId;
|
m.mServerId = decodeFolderName(serverId, null);
|
||||||
if (parentName != null && !parentList.contains(parentName)) {
|
if (parentName != null && !parentList.contains(parentName)) {
|
||||||
parentList.add(parentName);
|
parentList.add(parentName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user