From 4671cefaa1a342ea667589a4c13df488ddab9702 Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Thu, 24 Aug 2017 16:08:42 +0200 Subject: [PATCH] pass key confirmation status through for autocrypt status query --- .../org/sufficientlysecure/keychain/remote/OpenPgpService.java | 1 + 1 file changed, 1 insertion(+) 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 7fa062915..5171e281f 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java @@ -306,6 +306,7 @@ public class OpenPgpService extends Service { private Intent getAutocryptStatusResult(KeyIdResult keyIdResult) { Intent result = new Intent(); result.putExtra(OpenPgpApi.RESULT_CODE, OpenPgpApi.RESULT_CODE_SUCCESS); + result.putExtra(OpenPgpApi.RESULT_KEYS_CONFIRMED, keyIdResult.isAllKeysConfirmed()); AutocryptState combinedAutocryptState = keyIdResult.getCombinedAutocryptState(); if (combinedAutocryptState == null) {