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("Test 6 :: "+service.accountName, service.accountType) val account = Account(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("Test 7 :: "+service.accountName, service.accountType) val account = Account(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 ="Test 8 ::"+ displayName, displayName = displayName, description = description, color = color, timezone = timezone, Loading app/src/main/java/foundation/e/accountmanager/ui/HomeSetAdapter.kt +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ class HomeSetAdapter( val v: View if (!data.displayName.isNullOrBlank()) { v = convertView ?: LayoutInflater.from(context).inflate(R.layout.custom_simple_list_item_2, null, false) v.findViewById<TextView>(android.R.id.text1).text = "Test 3 :: "+data.displayName v.findViewById<TextView>(android.R.id.text1).text = data.displayName v.findViewById<TextView>(android.R.id.text2).apply { text = data.url.toString() setSingleLine() Loading vcard4android @ a5cb611b Compare ab6167b9 to a5cb611b Original line number Diff line number Diff line Subproject commit ab6167b9213c2fe03ca159f6eb6bd1472ede1fab Subproject commit a5cb611b62ad7ec5f5ed5c01ab3b818c77acc98f 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("Test 6 :: "+service.accountName, service.accountType) val account = Account(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("Test 7 :: "+service.accountName, service.accountType) val account = Account(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 ="Test 8 ::"+ displayName, displayName = displayName, description = description, color = color, timezone = timezone, Loading
app/src/main/java/foundation/e/accountmanager/ui/HomeSetAdapter.kt +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ class HomeSetAdapter( val v: View if (!data.displayName.isNullOrBlank()) { v = convertView ?: LayoutInflater.from(context).inflate(R.layout.custom_simple_list_item_2, null, false) v.findViewById<TextView>(android.R.id.text1).text = "Test 3 :: "+data.displayName v.findViewById<TextView>(android.R.id.text1).text = data.displayName v.findViewById<TextView>(android.R.id.text2).apply { text = data.url.toString() setSingleLine() Loading
vcard4android @ a5cb611b Compare ab6167b9 to a5cb611b Original line number Diff line number Diff line Subproject commit ab6167b9213c2fe03ca159f6eb6bd1472ede1fab Subproject commit a5cb611b62ad7ec5f5ed5c01ab3b818c77acc98f