aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com
diff options
context:
space:
mode:
authorknuthy <knuthy@gmail.com>2014-09-06 14:25:00 +0200
committerknuthy <knuthy@gmail.com>2014-09-06 14:25:00 +0200
commitf0152ecfa2f5207f5571d5e992344d04467be9ba (patch)
tree1df531e98a3ef95d47a5dc1f2993d2ebe27db8fe /app/src/main/java/com
parentf062ef55808bc09baf3f7f87a885eba09110970b (diff)
Finish activity when timer ends
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java2
1 files changed, 2 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 32f1237e..caf72fbf 100644
--- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java
+++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java
@@ -217,6 +217,8 @@ public class PgpHandler extends Activity implements OpenPgpServiceConnection.OnB
((TextView) findViewById(R.id.crypto_extra_show)).setText("");
findViewById(R.id.crypto_extra_show_layout).setVisibility(View.INVISIBLE);
findViewById(R.id.crypto_container).setVisibility(View.INVISIBLE);
+ activity.setResult(RESULT_CANCELED);
+ activity.finish();
}