@@ -63,18 +64,6 @@ abstract class SyncAdapterService: Service() {
* Useful if settings which modify parsing/local behavior have been changed.
*/
constvalSYNC_EXTRAS_FULL_RESYNC="full_resync"
/**
* We use our own dispatcher to
*
* - make sure that all threads have [Thread.getContextClassLoader] set, which is required for dav4jvm and ical4j (because they rely on [ServiceLoader]),
* - control the global number of sync worker threads.
*
* Threads created by a service automatically have a contextClassLoader.
@@ -97,6 +99,22 @@ abstract class SyncManager<ResourceType: LocalResource<*>, out CollectionType: L
protectedvarhasCollectionSync=false
/**
* We use our own dispatcher to
*
* - make sure that all threads have [Thread.getContextClassLoader] set, which is required for dav4jvm and ical4j (because they rely on [ServiceLoader]),
* - control the global number of sync worker threads.
*
* Threads created by a service automatically have a contextClassLoader.