Finish activity when timer ends

This commit is contained in:
knuthy 2014-09-06 14:25:00 +02:00
parent f062ef5580
commit f0152ecfa2

View file

@ -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();
}