File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/src/main/kotlin/at/bitfire/davdroid Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ class PushRegistrationManager @Inject constructor(
237237 }
238238 serializer.endDocument()
239239
240- runInterruptible(ioDispatcher) {
240+ runInterruptible(ioDispatcher) { // network traffic
241241 val xml = writer.toString().toRequestBody(DavResource .MIME_XML )
242242 DavCollection (httpClient.okHttpClient, collection.url).post(xml) { response ->
243243 if (response.isSuccessful) {
@@ -258,7 +258,7 @@ class PushRegistrationManager @Inject constructor(
258258 }
259259
260260 private suspend fun unsubscribe (httpClient : HttpClient , collection : Collection , url : HttpUrl ) {
261- runInterruptible(ioDispatcher) {
261+ runInterruptible(ioDispatcher) { // network traffic
262262 try {
263263 DavResource (httpClient.okHttpClient, url).delete {
264264 // deleted
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import android.accounts.Account
88import android.accounts.AccountManager
99import android.accounts.OnAccountsUpdateListener
1010import android.content.Context
11- import at.bitfire.davdroid.sync.account.InvalidAccountException
1211import at.bitfire.davdroid.R
1312import at.bitfire.davdroid.db.Credentials
1413import at.bitfire.davdroid.db.HomeSet
@@ -23,6 +22,7 @@ import at.bitfire.davdroid.sync.AutomaticSyncManager
2322import at.bitfire.davdroid.sync.SyncDataType
2423import at.bitfire.davdroid.sync.TasksAppManager
2524import at.bitfire.davdroid.sync.account.AccountsCleanupWorker
25+ import at.bitfire.davdroid.sync.account.InvalidAccountException
2626import at.bitfire.davdroid.sync.account.SystemAccountUtils
2727import at.bitfire.davdroid.sync.worker.SyncWorkerManager
2828import at.bitfire.vcard4android.GroupMethod
You can’t perform that action at this time.
0 commit comments