summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java2
1 files changed, 1 insertions, 1 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 4730a8e6..110f71eb 100644
--- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java
+++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java
@@ -133,7 +133,7 @@ public class PgpHandler extends ActionBarActivity implements OpenPgpServiceConne
int id = item.getItemId();
switch (id) {
case android.R.id.home:
- setResult(RESULT_OK);
+ setResult(RESULT_CANCELED);
finish();
return true;
case R.id.copy_password: