Loading app/src/main/java/foundation/e/accountmanager/DavService.kt +1 −1 Original line number Diff line number Diff line Loading @@ -143,7 +143,7 @@ class DavService: android.app.Service() { val collectionDao = db.collectionDao() val service = db.serviceDao().get(serviceId) ?: throw IllegalArgumentException("Service not found") val account = Account(service.accountName, service.accountType) val account = Account("Test 6 :: "+service.accountName, service.accountType) val homeSets = homeSetDao.getByService(serviceId).associateBy { it.url }.toMutableMap() val collections = collectionDao.getByService(serviceId).associateBy { it.url }.toMutableMap() Loading app/src/main/java/foundation/e/accountmanager/PackageChangedReceiver.kt +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ class PackageChangedReceiver: BroadcastReceiver() { // check all accounts and (de)activate OpenTasks if a CalDAV service is defined val db = AppDatabase.getInstance(context) db.serviceDao().getByType(Service.TYPE_CALDAV).forEach { service -> val account = Account(service.accountName, service.accountType) val account = Account("Test 7 :: "+service.accountName, service.accountType) if (tasksInstalled) { if (ContentResolver.getIsSyncable(account, OpenTasks.authority) <= 0) { ContentResolver.setIsSyncable(account, OpenTasks.authority, 1) Loading app/src/main/java/foundation/e/accountmanager/model/Collection.kt +1 −1 Original line number Diff line number Diff line Loading @@ -131,7 +131,7 @@ data class Collection( url = url, privWriteContent = privWriteContent, privUnbind = privUnbind, displayName = displayName, displayName ="Test 8 ::"+ displayName, description = description, color = color, timezone = timezone, Loading Loading
app/src/main/java/foundation/e/accountmanager/DavService.kt +1 −1 Original line number Diff line number Diff line Loading @@ -143,7 +143,7 @@ class DavService: android.app.Service() { val collectionDao = db.collectionDao() val service = db.serviceDao().get(serviceId) ?: throw IllegalArgumentException("Service not found") val account = Account(service.accountName, service.accountType) val account = Account("Test 6 :: "+service.accountName, service.accountType) val homeSets = homeSetDao.getByService(serviceId).associateBy { it.url }.toMutableMap() val collections = collectionDao.getByService(serviceId).associateBy { it.url }.toMutableMap() Loading
app/src/main/java/foundation/e/accountmanager/PackageChangedReceiver.kt +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ class PackageChangedReceiver: BroadcastReceiver() { // check all accounts and (de)activate OpenTasks if a CalDAV service is defined val db = AppDatabase.getInstance(context) db.serviceDao().getByType(Service.TYPE_CALDAV).forEach { service -> val account = Account(service.accountName, service.accountType) val account = Account("Test 7 :: "+service.accountName, service.accountType) if (tasksInstalled) { if (ContentResolver.getIsSyncable(account, OpenTasks.authority) <= 0) { ContentResolver.setIsSyncable(account, OpenTasks.authority, 1) Loading
app/src/main/java/foundation/e/accountmanager/model/Collection.kt +1 −1 Original line number Diff line number Diff line Loading @@ -131,7 +131,7 @@ data class Collection( url = url, privWriteContent = privWriteContent, privUnbind = privUnbind, displayName = displayName, displayName ="Test 8 ::"+ displayName, description = description, color = color, timezone = timezone, Loading