Skip to content

Commit 060abe3

Browse files
committed
Remove scheduleTag for tasks
1 parent 5fb5d74 commit 060abe3

File tree

2 files changed

+2
-4
lines changed
  • lib/src

2 files changed

+2
-4
lines changed

lib/src/androidTest/kotlin/at/bitfire/ical4android/impl/TestTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TestTask: DmfsTask {
1818
: super(taskList, values)
1919

2020
constructor(taskList: TestTaskList, task: Task)
21-
: super(taskList, task, "6c2710c3-f82c-4dfa-8738-186b82c35c08", null, null, 0)
21+
: super(taskList, task, "6c2710c3-f82c-4dfa-8738-186b82c35c08", null, 0)
2222

2323
object Factory: DmfsTaskFactory<TestTask> {
2424
override fun fromProvider(taskList: DmfsTaskList<DmfsTask>, values: ContentValues) =

lib/src/main/kotlin/at/bitfire/ical4android/DmfsTask.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ open class DmfsTask(
8484
flags = values.getAsInteger(COLUMN_FLAGS) ?: 0
8585
}
8686

87-
constructor(taskList: DmfsTaskList<*>, task: Task, syncId: String?, eTag: String?, scheduleTag: String?, flags: Int): this(taskList) {
88-
if (scheduleTag != null)
89-
logger.fine("Schedule-Tag for tasks not supported yet, won't save")
87+
constructor(taskList: DmfsTaskList<*>, task: Task, syncId: String?, eTag: String?, flags: Int): this(taskList) {
9088
this.task = task
9189
this.syncId = syncId
9290
this.eTag = eTag

0 commit comments

Comments
 (0)