Read truncated data (even if it doesn't get parsed)

Bug: 3362434
Change-Id: Ifaf992987a1ef0b866506834f8e87047ebb2f62b
This commit is contained in:
Marc Blank 2011-01-17 15:14:46 -08:00
parent f32bb6e570
commit a38f61bad7

View File

@ -304,6 +304,8 @@ public class EmailSyncAdapter extends AbstractSyncAdapter {
// 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
// "partially loaded".
// Get the data (and ignore it)
getValue();
userLog("Partially loaded: ", msg.mServerId);
msg.mFlagLoaded = Message.FLAG_LOADED_PARTIAL;
mFetchNeeded = true;