Merge "Fix problem in IMAP with non-roman locales" into jb-ub-mail-ur10

This commit is contained in:
Paul Westbrook 2013-08-12 19:02:39 +00:00 committed by Android (Google) Code Review
commit 8c13dcd950

View File

@ -18,13 +18,15 @@ package com.android.email.mail.store.imap;
import com.android.email.mail.Store;
import java.util.Locale;
public final class ImapConstants {
private ImapConstants() {}
public static final String FETCH_FIELD_BODY_PEEK_BARE = "BODY.PEEK";
public static final String FETCH_FIELD_BODY_PEEK = FETCH_FIELD_BODY_PEEK_BARE + "[]";
public static final String FETCH_FIELD_BODY_PEEK_SANE
= String.format("BODY.PEEK[]<0.%d>", Store.FETCH_BODY_SANE_SUGGESTED_SIZE);
= String.format(Locale.US, "BODY.PEEK[]<0.%d>", Store.FETCH_BODY_SANE_SUGGESTED_SIZE);
public static final String FETCH_FIELD_HEADERS =
"BODY.PEEK[HEADER.FIELDS (date subject from content-type to cc message-id)]";