Move local collection management from companion objects to LocalDataStore (#1125)

* [WIP] Move local collection management from companion objects to LocalDataStore

* Move Syncer.getLocalCollections to LocalDataStore.getAll()

- note that things like the "sync_enabled" Android calendar flag are not supported and always set to true

* Minor changes

* Implement LocalJtxCollectionStore

* Implement LocalTaskListStore

* Fix tests

* Drop initialUserData

* Address book read-only applies to entries of address book itself, so moving to LocalAddressBook

* KDoc, shouldBeReadOnly

* Test accountName

* Remove obsolete address book factory

* Test create address book

* Test createAccount

---------

Co-authored-by: Sunik Kupfer <kupfer@bitfire.at>
This commit is contained in:
Ricki Hirner
2024-11-18 12:46:14 +01:00
committed by GitHub
parent 41075e442c
commit 0f4e48ad4d
26 changed files with 931 additions and 589 deletions

View File

@@ -13,4 +13,7 @@ android.enableR8.fullMode=false
# org.gradle.configuration-cache.problems=warn
# https://docs.gradle.org/current/userguide/build_cache.html
# org.gradle.caching=true
# org.gradle.caching=true
# temporary fix for https://github.com/google/ksp/issues/2072
ksp.incremental=false