Add gservices flags for calendar sync.

This commit is contained in:
Ken Shirriff
2009-11-19 18:00:16 -08:00
parent 288509a959
commit f8c2bb36f7

View File

@@ -3576,6 +3576,44 @@ public final class Settings {
*/
public static final String USE_LOCATION_FOR_SERVICES = "use_location";
/**
* The number of entries to fetch from the feed at a time for calendar sync.
*/
private static final String GOOGLE_CALENDAR_SYNC_ENTRY_FETCH_QUEUE_SIZE =
"google_calendar_sync_entry_fetch_queue_size";
/**
* The number of entities to fetch from the provider at a time for calendar sync.
*/
private static final String GOOGLE_CALENDAR_SYNC_ENTITY_FETCH_QUEUE_SIZE =
"google_calendar_sync_entity_fetch_queue_size";
/**
* The maximum number of simultaneous changes to allow before alerting the user for
* calendar sync.
*/
private static final String GOOGLE_CALENDAR_SYNC_NUM_ALLOWED_SIMULTANEOUS_CHANGES =
"google_calendar_sync_num_allowed_simultaneous changes";
/**
* The maximum percentage of simultaneous changes to allow before alerting the user for
* calendar sync.
*/
private static final String GOOGLE_CALENDAR_SYNC_PERCENT_ALLOWED_SIMULTANEOUS_CHANGES =
"google_calendar_sync_percent_allowed_simultaneous_changes";
/**
* The number of times to apply local changes in calendar sync before stopping.
*/
private static final String GOOGLE_CALENDAR_SYNC_MAX_LOOP_ATTEMPTS =
"google_calendar_sync_max_loop_attempts";
/**
* The batch size for applying server changes to the provider for calendar sync.
*/
private static final String GOOGLE_CALENDAR_SYNC_NUM_APPLICATIONS_PER_BATCH =
"google_calendar_sync_num_applications_per_batch";
/**
* The length of the calendar sync window into the future.
* This specifies the number of days into the future for the sliding window sync.