Correctly unmarshal errors from OpenKeychain (#615)
Fixes #614 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
91f5797262
commit
14f1fa6538
4 changed files with 9 additions and 4 deletions
|
@ -40,11 +40,11 @@ import java.net.MalformedURLException
|
|||
import java.net.URL
|
||||
import java.util.ArrayList
|
||||
import java.util.Locale
|
||||
import me.msfjarvis.openpgpktx.OpenPgpError
|
||||
import me.msfjarvis.openpgpktx.util.OpenPgpApi
|
||||
import me.msfjarvis.openpgpktx.util.OpenPgpServiceConnection
|
||||
import org.apache.commons.io.FileUtils
|
||||
import org.openintents.openpgp.IOpenPgpService2
|
||||
import org.openintents.openpgp.OpenPgpError
|
||||
|
||||
class AutofillService : AccessibilityService() {
|
||||
private var serviceConnection: OpenPgpServiceConnection? = null
|
||||
|
|
|
@ -54,7 +54,6 @@ import kotlinx.android.synthetic.main.encrypt_layout.generate_password
|
|||
import kotlinx.coroutines.Dispatchers.IO
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.launch
|
||||
import me.msfjarvis.openpgpktx.OpenPgpError
|
||||
import me.msfjarvis.openpgpktx.util.OpenPgpApi
|
||||
import me.msfjarvis.openpgpktx.util.OpenPgpApi.Companion.ACTION_DECRYPT_VERIFY
|
||||
import me.msfjarvis.openpgpktx.util.OpenPgpApi.Companion.RESULT_CODE
|
||||
|
@ -67,6 +66,7 @@ import me.msfjarvis.openpgpktx.util.OpenPgpServiceConnection
|
|||
import org.apache.commons.io.FileUtils
|
||||
import org.apache.commons.io.FilenameUtils
|
||||
import org.openintents.openpgp.IOpenPgpService2
|
||||
import org.openintents.openpgp.OpenPgpError
|
||||
|
||||
class PgpActivity : AppCompatActivity(), OpenPgpServiceConnection.OnBound {
|
||||
private val clipboard: ClipboardManager by lazy {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue