From 43f479d773adfcace99f496e73eecef62dc4e47f Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Thu, 27 Jul 2017 09:07:38 +0100 Subject: revert deleted cases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are called after the user enters his/her passphrase, hence really needed… I messed up --- app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java index 32a3ced6..09617a69 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java @@ -410,6 +410,14 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne * interaction, for example selected key ids. */ switch (requestCode) { + case REQUEST_CODE_ENCRYPT: { + encrypt(data); + break; + } + case REQUEST_CODE_DECRYPT_AND_VERIFY: { + decryptAndVerify(data); + break; + } case REQUEST_CODE_GET_KEY_IDS: getKeyIds(data); break; -- cgit v1.2.3