am ea5b93d9: Handle moreAvailable true w/o changes (#2189704) DO NOT MERGE

Merge commit 'ea5b93d9b825e17eddf7f34cd37abef98e9949bd' into eclair-plus-aosp

* commit 'ea5b93d9b825e17eddf7f34cd37abef98e9949bd':
  Handle moreAvailable true w/o changes (#2189704) DO NOT MERGE
This commit is contained in:
Marc Blank 2009-10-28 11:04:25 -07:00 committed by Android Git Automerger
commit 28f8d9ad58

View File

@ -140,6 +140,9 @@ public abstract class AbstractSyncParser extends Parser {
mAdapter.setSyncKey(newKey, true); mAdapter.setSyncKey(newKey, true);
cv.put(MailboxColumns.SYNC_KEY, newKey); cv.put(MailboxColumns.SYNC_KEY, newKey);
mailboxUpdated = true; 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 we were pushing (i.e. auto-start), now we'll become ping-triggered
if (mMailbox.mSyncInterval == Mailbox.CHECK_INTERVAL_PUSH) { if (mMailbox.mSyncInterval == Mailbox.CHECK_INTERVAL_PUSH) {