From 1cf05fccdb0823a99e0ea33cc51150c7e31f2f1e Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 6 Mar 2014 20:18:34 +0100 Subject: [PATCH] api updated --- libs/openpgp-keychain | 2 +- src/eu/siacs/conversations/crypto/PgpEngine.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/openpgp-keychain b/libs/openpgp-keychain index 5f3c9f3eb..ea2f3e144 160000 --- a/libs/openpgp-keychain +++ b/libs/openpgp-keychain @@ -1 +1 @@ -Subproject commit 5f3c9f3eb9c3d2635a3f16d43742d7a12576474c +Subproject commit ea2f3e1444ba0597425c8fb7f820f981b3da8cea diff --git a/src/eu/siacs/conversations/crypto/PgpEngine.java b/src/eu/siacs/conversations/crypto/PgpEngine.java index bc3aaa8c5..5e480ae5e 100644 --- a/src/eu/siacs/conversations/crypto/PgpEngine.java +++ b/src/eu/siacs/conversations/crypto/PgpEngine.java @@ -33,7 +33,7 @@ public class PgpEngine { throw new UserInputRequiredException((PendingIntent) result.getParcelableExtra(OpenPgpApi.RESULT_INTENT)); case OpenPgpApi.RESULT_CODE_ERROR: throw new OpenPgpException( - (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERRORS)); + (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERROR)); default: return null; } @@ -91,7 +91,7 @@ public class PgpEngine { break; case OpenPgpApi.RESULT_CODE_ERROR: throw new OpenPgpException( - (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERRORS)); + (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERROR)); } return 0; }