mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 22:35:17 +00:00
Fix Autofill result contract bug (#941)
This commit is contained in:
@@ -199,7 +199,7 @@ class AutofillDecryptActivity : AppCompatActivity(), CoroutineScope {
|
|||||||
registerForActivityResult(StartIntentSenderForResult()) { result ->
|
registerForActivityResult(StartIntentSenderForResult()) { result ->
|
||||||
if (continueAfterUserInteraction != null) {
|
if (continueAfterUserInteraction != null) {
|
||||||
val data = result.data
|
val data = result.data
|
||||||
if (resultCode == RESULT_OK && data != null) {
|
if (result.resultCode == RESULT_OK && data != null) {
|
||||||
continueAfterUserInteraction?.resume(data)
|
continueAfterUserInteraction?.resume(data)
|
||||||
} else {
|
} else {
|
||||||
continueAfterUserInteraction?.resumeWithException(Exception("OpenPgpApi ACTION_DECRYPT_VERIFY failed to continue after user interaction"))
|
continueAfterUserInteraction?.resumeWithException(Exception("OpenPgpApi ACTION_DECRYPT_VERIFY failed to continue after user interaction"))
|
||||||
|
Reference in New Issue
Block a user