am bd4fe2db: Merge change 23114 into eclair

Merge commit 'bd4fe2db84afc7425cff536953faa4f912997736'

* commit 'bd4fe2db84afc7425cff536953faa4f912997736':
  Fix upload of read state for Exchange emails
This commit is contained in:
Marc Blank 2009-08-28 10:43:34 -07:00 committed by Android Git Automerger
commit 6d94001a82

View File

@ -613,7 +613,8 @@ public class EmailSyncAdapter extends AbstractSyncAdapter {
}
// Send the command to delete this message
s.start(Tags.SYNC_DELETE)
.data(Tags.SYNC_SERVER_ID, currentCursor.getString(UPDATES_SERVER_ID_COLUMN))
.data(Tags.SYNC_SERVER_ID,
currentCursor.getString(UPDATES_SERVER_ID_COLUMN))
.end(); // SYNC_DELETE
continue;
}
@ -632,7 +633,7 @@ public class EmailSyncAdapter extends AbstractSyncAdapter {
}
int read = currentCursor.getInt(UPDATES_READ_COLUMN);
if (read == c.getInt(Message.LIST_READ_COLUMN)) {
if (read != c.getInt(Message.LIST_READ_COLUMN)) {
readChange = true;
}