pass key confirmation status through for autocrypt status query

This commit is contained in:
Vincent Breitmoser 2017-08-24 16:08:42 +02:00
parent 6d99abf5eb
commit 4671cefaa1

View file

@ -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) {