Merge "Read truncated data (even if it doesn't get parsed)" into honeycomb

This commit is contained in:
Marc Blank 2011-01-17 15:24:49 -08:00 committed by Android (Google) Code Review
commit 648e45176b

View File

@ -304,6 +304,8 @@ public class EmailSyncAdapter extends AbstractSyncAdapter {
// it will take time and throw an exception anyway when EOF is reached // it will take time and throw an exception anyway when EOF is reached
// In this case, we will load the body separately by tagging the message // In this case, we will load the body separately by tagging the message
// "partially loaded". // "partially loaded".
// Get the data (and ignore it)
getValue();
userLog("Partially loaded: ", msg.mServerId); userLog("Partially loaded: ", msg.mServerId);
msg.mFlagLoaded = Message.FLAG_LOADED_PARTIAL; msg.mFlagLoaded = Message.FLAG_LOADED_PARTIAL;
mFetchNeeded = true; mFetchNeeded = true;