Fix upload of read state for Exchange emails
Change-Id: Id5959f9c2394644e88b3961dea24f54ff1ad7141
This commit is contained in:
parent
e3a25fe58d
commit
85a78c7495
@ -613,7 +613,8 @@ public class EmailSyncAdapter extends AbstractSyncAdapter {
|
|||||||
}
|
}
|
||||||
// Send the command to delete this message
|
// Send the command to delete this message
|
||||||
s.start(Tags.SYNC_DELETE)
|
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
|
.end(); // SYNC_DELETE
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -632,7 +633,7 @@ public class EmailSyncAdapter extends AbstractSyncAdapter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int read = currentCursor.getInt(UPDATES_READ_COLUMN);
|
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;
|
readChange = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user