replicant-packages_apps_Email/src/com/android/exchange
Marc Blank 826c83a231 Work around problem w/ large CalendarProvider2 transactions
* We're seeing binder transaction failures when we try to send more than around
  1500 CPO's to CalendarProvider2 in a batch (the limit is related to memory
  usage in binder transactions)
* When an event has A attendees and E exceptions in an event, we currently must
  create A*E CPO's; this number can become very large and cause a binder failure
* The result of a failure is looping behavior, resulting in failed sync and very
  much reduced battery life
* The workaround here is to redact all non-organizer and non-user attendees from
  exceptions once we reach half of the maximum number of CPO's.  This has been
  determined empirically and is set to 500 CPO's in this CL
* We also reduce our sync "window" to 4 calendar/contact items per sync command
  to help limit the potential size of our batch
* For later releases, we should reconsider this and see if something that is more
  of a "fix", rather than a workaround, can be implemented

Bug: 2760514
Change-Id: I06ca1a1ae88c772342a9e46b5997c41678e95144
2010-06-11 10:44:39 -07:00
..
adapter Work around problem w/ large CalendarProvider2 transactions 2010-06-11 10:44:39 -07:00
provider Remove STOPSHIP debug code 2010-04-28 09:48:40 -07:00
utility Fix bugs related to TZ handling for all-day events 2010-05-25 11:46:44 -07:00
AbstractSyncService.java Improve sync thread alerting mechanism 2010-04-26 07:06:56 -07:00
BootReceiver.java Gather common exchange related methods into one place 2010-02-02 13:36:45 -08:00
CalendarSyncAdapterService.java Increase timeouts for Exchange sync; prevent early upload sync 2010-04-12 13:59:04 -07:00
CalendarSyncEnabler.java Launch Calendar app when notification is touched. 2010-03-01 11:06:42 -08:00
ContactsSyncAdapterService.java Move Eas.ACCOUNT_MANAGER_TYPE out of the package. 2010-02-01 15:38:15 -08:00
Eas.java Handle EAS versions better 2010-03-19 12:01:44 -07:00
EasAuthenticationException.java Handle Exchange meeting invitation responses 2010-01-26 09:08:52 -08:00
EasException.java eclair snapshot 2009-11-12 18:46:09 -08:00
EasOutboxService.java Send meeting invitations for new/updated Exchange events 2010-02-23 11:37:18 -08:00
EasSyncService.java Work around problem w/ large CalendarProvider2 transactions 2010-06-11 10:44:39 -07:00
EmailSyncAlarmReceiver.java Run MailboxAlarmReceiver's code in a background thread 2009-12-11 13:05:48 -08:00
MailboxAlarmReceiver.java Stop pings when other syncs in the same account start 2010-03-05 17:33:22 -08:00
MeetingResponseRequest.java Handle Exchange meeting invitation responses 2010-01-26 09:08:52 -08:00
MockParserStream.java eclair snapshot 2009-11-12 18:46:09 -08:00
PartRequest.java Handle Exchange meeting invitation responses 2010-01-26 09:08:52 -08:00
Request.java Handle Exchange meeting invitation responses 2010-01-26 09:08:52 -08:00
SSLSocketFactory.java Unbundle: Remove the use of internal SSL APIs. 2010-01-05 16:57:17 -08:00
StaleFolderListException.java eclair snapshot 2009-11-12 18:46:09 -08:00
SyncManager.java Start sync ASAP when calendar is re-enabled 2010-05-06 20:36:36 -07:00
patent_disclaimer.txt eclair snapshot 2009-11-12 18:46:09 -08:00