diff options
author | zeapo <mohamed@zenadi.com> | 2014-10-30 22:31:09 +0100 |
---|---|---|
committer | zeapo <mohamed@zenadi.com> | 2014-10-30 22:31:09 +0100 |
commit | 005f0b6b7bc7c8971a28937e542a0adff33d8353 (patch) | |
tree | 3f7798f816b16120216866f4d109a974a29fc125 /app/src/main | |
parent | 6b4b520a3308096468a337ba97b6f73f00edb3c0 (diff) |
when returning from an ADD without confirmation we are canceling not confirming
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 2 |
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: |