aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2017-07-27 09:07:38 +0100
committerMohamed Zenadi <mohamed@zenadi.com>2017-07-27 09:07:38 +0100
commit43f479d773adfcace99f496e73eecef62dc4e47f (patch)
tree044e0aab8eec4d87c2b7838a77918ae2edb28174 /app/src/main
parentfd02d50011676b7c9a524257200494170c0bbd25 (diff)
revert deleted cases
These are called after the user enters his/her passphrase, hence really needed… I messed up
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java8
1 files changed, 8 insertions, 0 deletions
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;