|
|
|
@ -2,22 +2,21 @@ package com.todoroo.astrid.service
|
|
|
|
|
|
|
|
|
|
import android.content.Context
|
|
|
|
|
import androidx.room.withTransaction
|
|
|
|
|
import org.tasks.data.db.Database
|
|
|
|
|
import org.tasks.data.entity.Task
|
|
|
|
|
import com.todoroo.astrid.timers.TimerPlugin
|
|
|
|
|
import dagger.hilt.android.qualifiers.ApplicationContext
|
|
|
|
|
import kotlinx.coroutines.NonCancellable
|
|
|
|
|
import kotlinx.coroutines.withContext
|
|
|
|
|
import org.tasks.BuildConfig
|
|
|
|
|
import org.tasks.LocalBroadcastManager
|
|
|
|
|
import org.tasks.caldav.VtodoCache
|
|
|
|
|
import org.tasks.data.entity.CaldavAccount
|
|
|
|
|
import org.tasks.data.entity.CaldavCalendar
|
|
|
|
|
import org.tasks.data.dao.DeletionDao
|
|
|
|
|
import org.tasks.data.dao.LocationDao
|
|
|
|
|
import org.tasks.data.dao.TaskDao
|
|
|
|
|
import org.tasks.data.dao.UserActivityDao
|
|
|
|
|
import org.tasks.data.db.Database
|
|
|
|
|
import org.tasks.data.db.SuspendDbUtils.chunkedMap
|
|
|
|
|
import org.tasks.data.entity.CaldavAccount
|
|
|
|
|
import org.tasks.data.entity.CaldavCalendar
|
|
|
|
|
import org.tasks.data.entity.Task
|
|
|
|
|
import org.tasks.files.FileHelper
|
|
|
|
|
import org.tasks.location.GeofenceApi
|
|
|
|
|
import org.tasks.notifications.NotificationManager
|
|
|
|
@ -34,7 +33,6 @@ class TaskDeleter @Inject constructor(
|
|
|
|
|
private val vtodoCache: VtodoCache,
|
|
|
|
|
private val notificationManager: NotificationManager,
|
|
|
|
|
private val geofenceApi: GeofenceApi,
|
|
|
|
|
private val timerPlugin: TimerPlugin,
|
|
|
|
|
private val userActivityDao: UserActivityDao,
|
|
|
|
|
private val locationDao: LocationDao,
|
|
|
|
|
) {
|
|
|
|
|