Merge change I56e23586 into eclair

* changes:
  Reduce the sync window from 20 items to 5 (partial fix #2149029)
This commit is contained in:
Android (Google) Code Review 2009-09-28 17:52:49 -04:00
commit aff9926d84

View File

@ -73,7 +73,7 @@ import java.util.HashMap;
public class EasSyncService extends AbstractSyncService { public class EasSyncService extends AbstractSyncService {
private static final String EMAIL_WINDOW_SIZE = "5"; private static final String EMAIL_WINDOW_SIZE = "5";
public static final String PIM_WINDOW_SIZE = "20"; public static final String PIM_WINDOW_SIZE = "5";
private static final String WHERE_ACCOUNT_KEY_AND_SERVER_ID = private static final String WHERE_ACCOUNT_KEY_AND_SERVER_ID =
MailboxColumns.ACCOUNT_KEY + "=? and " + MailboxColumns.SERVER_ID + "=?"; MailboxColumns.ACCOUNT_KEY + "=? and " + MailboxColumns.SERVER_ID + "=?";
private static final String WHERE_ACCOUNT_AND_SYNC_INTERVAL_PING = private static final String WHERE_ACCOUNT_AND_SYNC_INTERVAL_PING =