From f60bf5f351c76214ce57b4220ae57da7c346941e Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Mon, 28 Sep 2009 14:34:16 -0700 Subject: [PATCH] Reduce the sync window from 20 items to 5 (partial fix #2149029) * This change trades off network time / overhead with time keeping ContactsProvider2 busy * The net effect will probably be to reduce some UI slowdowns while syncing Exchange contacts, while increasing the time it takes to sync those contacts Change-Id: I56e2358698aa4c901cda4559f7a8f9117681f627 --- src/com/android/exchange/EasSyncService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/exchange/EasSyncService.java b/src/com/android/exchange/EasSyncService.java index 6238547c4..ee73ff034 100644 --- a/src/com/android/exchange/EasSyncService.java +++ b/src/com/android/exchange/EasSyncService.java @@ -73,7 +73,7 @@ import java.util.HashMap; public class EasSyncService extends AbstractSyncService { 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 = MailboxColumns.ACCOUNT_KEY + "=? and " + MailboxColumns.SERVER_ID + "=?"; private static final String WHERE_ACCOUNT_AND_SYNC_INTERVAL_PING =