Merge change Idef455f3 into eclair-mr2

* changes:
  Handle case of moreAvailable true with no changes (#2189704)
This commit is contained in:
Android (Google) Code Review 2009-10-15 16:28:19 -04:00
commit dc9bc35bb1

View File

@ -140,7 +140,10 @@ 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) {
mMailbox.mSyncInterval = Mailbox.CHECK_INTERVAL_PING;