am dc9bc35b: Merge change Idef455f3 into eclair-mr2

Merge commit 'dc9bc35bb1adf4ef5deb4125eb0df0fef0c45dfc' into eclair-mr2-plus-aosp

* commit 'dc9bc35bb1adf4ef5deb4125eb0df0fef0c45dfc':
  Handle case of moreAvailable true with no changes (#2189704)
This commit is contained in:
Marc Blank 2009-10-15 13:36:14 -07:00 committed by Android Git Automerger
commit dfeff3d8a7

View File

@ -140,6 +140,9 @@ public abstract class AbstractSyncParser extends Parser {
mAdapter.setSyncKey(newKey, true);
cv.put(MailboxColumns.SYNC_KEY, newKey);
mailboxUpdated = true;
} else if (moreAvailable) {
userLog("!! SyncKey hasn't changed, setting moreAvailable = false");
moreAvailable = false;
}
// If we were pushing (i.e. auto-start), now we'll become ping-triggered
if (mMailbox.mSyncInterval == Mailbox.CHECK_INTERVAL_PUSH) {