From: Damyan Ivanov Date: Wed, 2 Jan 2019 20:45:07 +0000 (+0000) Subject: handle cancellation X-Git-Tag: v0.3~139 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=2dbf35771643d7799bdc96fe9cd5c0a465f75c71;p=mobile-ledger.git handle cancellation --- diff --git a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveAccountsTask.java b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveAccountsTask.java index 83f15fb7..94eaa1bd 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveAccountsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveAccountsTask.java @@ -19,6 +19,7 @@ package net.ktnx.mobileledger.async; import android.content.SharedPreferences; import android.database.sqlite.SQLiteDatabase; +import android.os.OperationCanceledException; import android.util.Log; import net.ktnx.mobileledger.R; @@ -90,6 +91,8 @@ public class RetrieveAccountsTask extends android.os.AsyncTask