diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-07-19 18:39:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-19 22:09:41 +0530 |
commit | b9e6385751f0a0b36b5d47e51f95666490000ef4 (patch) | |
tree | 94d2bac56cfdebe6c3ced584bbb3d845de233410 /app/src | |
parent | c7ccc2f4f1c005f95043ef10157edb4469185d95 (diff) |
Fix Autofill result contract bug (#941)
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillDecryptActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillDecryptActivity.kt b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillDecryptActivity.kt index 3656bc7e..2ac32c27 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillDecryptActivity.kt +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillDecryptActivity.kt @@ -199,7 +199,7 @@ class AutofillDecryptActivity : AppCompatActivity(), CoroutineScope { registerForActivityResult(StartIntentSenderForResult()) { result -> if (continueAfterUserInteraction != null) { val data = result.data - if (resultCode == RESULT_OK && data != null) { + if (result.resultCode == RESULT_OK && data != null) { continueAfterUserInteraction?.resume(data) } else { continueAfterUserInteraction?.resumeWithException(Exception("OpenPgpApi ACTION_DECRYPT_VERIFY failed to continue after user interaction")) |