diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-03-09 16:03:58 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-03-09 16:03:58 +0100 |
commit | 72c18734ad2841bd57a91917c419d30cd97a4022 (patch) | |
tree | f6144d18157073a72de043b69b3c9a4b42e59c6f /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFilesActivity.java | |
parent | c50dceab32cd84349cfd414f8b64b8dea5bb209b (diff) | |
download | open-keychain-72c18734ad2841bd57a91917c419d30cd97a4022.tar.gz open-keychain-72c18734ad2841bd57a91917c419d30cd97a4022.tar.bz2 open-keychain-72c18734ad2841bd57a91917c419d30cd97a4022.zip |
Redesign of encrypt activites finished
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFilesActivity.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFilesActivity.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFilesActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFilesActivity.java index 89dd4970b..162b10eca 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFilesActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFilesActivity.java @@ -17,9 +17,12 @@ package org.sufficientlysecure.keychain.ui; +import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; +import android.os.PersistableBundle; +import android.view.View; import org.sufficientlysecure.keychain.Constants; import org.sufficientlysecure.keychain.R; @@ -40,6 +43,14 @@ public class DecryptFilesActivity extends BaseActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + setFullScreenDialogClose(new View.OnClickListener() { + @Override + public void onClick(View v) { + setResult(Activity.RESULT_CANCELED); + finish(); + } + }, false); + // Handle intent actions handleActions(savedInstanceState, getIntent()); } |