Made MAX_SMALL_MESSAGE_SIZE match Store.FETCH_BODY_SANE_SUGGESTED_SIZE for consistency. See r623

This commit is contained in:
Bao-Long Nguyen-Trong 2009-05-21 20:02:44 +00:00
parent 49426f3107
commit f64de34d2f

View file

@ -35,7 +35,6 @@ import android.util.Log;
import com.android.email.activity.FolderMessageList;
import com.android.email.mail.Address;
import com.android.email.mail.Body;
import com.android.email.mail.FetchProfile;
import com.android.email.mail.Flag;
import com.android.email.mail.Folder;
@ -86,8 +85,7 @@ public class MessagingController implements Runnable {
* </pre>
* So 25k gives good performance and a reasonable data footprint. Sounds good to me.
*/
// Daniel I. Applebaum Changing to 5k for faster syncing
private static final int MAX_SMALL_MESSAGE_SIZE = (5 * 1024);
private static final int MAX_SMALL_MESSAGE_SIZE = Store.FETCH_BODY_SANE_SUGGESTED_SIZE;
private static final String PENDING_COMMAND_MOVE_OR_COPY =
"com.android.email.MessagingController.moveOrCopy";