From f0152ecfa2f5207f5571d5e992344d04467be9ba Mon Sep 17 00:00:00 2001 From: knuthy Date: Sat, 6 Sep 2014 14:25:00 +0200 Subject: [PATCH] Finish activity when timer ends --- app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 2 ++ 1 file changed, 2 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 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(); }