From bf8507bab871174ba66c2bd43d51e4f48dff901c Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Tue, 2 May 2017 07:34:20 +0200 Subject: [PATCH] fix logic error in openpgpservice --- .../org/sufficientlysecure/keychain/remote/OpenPgpService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java index 99ac09169..4ee644664 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java @@ -219,7 +219,7 @@ public class OpenPgpService extends Service { Intent signKeyIdIntent = getSignKeyMasterId(data); // NOTE: Fallback to return account settings (Old API) if (signKeyIdIntent.getIntExtra(OpenPgpApi.RESULT_CODE, OpenPgpApi.RESULT_CODE_ERROR) - != OpenPgpApi.RESULT_CODE_SUCCESS) { + == OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED) { return signKeyIdIntent; }