aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain
diff options
context:
space:
mode:
authormar-v-in <github@rvin.mooo.com>2014-07-25 13:39:54 +0200
committermar-v-in <github@rvin.mooo.com>2014-07-25 13:39:54 +0200
commit1e4f0c6b000167ff5a596ed0b0763141f2a2527f (patch)
tree683a93923c3c175b0697cda327226042ae4f6729 /OpenKeychain
parent2913a78b188e81fe6bd91d26fb0ae083cf504bde (diff)
downloadopen-keychain-1e4f0c6b000167ff5a596ed0b0763141f2a2527f.tar.gz
open-keychain-1e4f0c6b000167ff5a596ed0b0763141f2a2527f.tar.bz2
open-keychain-1e4f0c6b000167ff5a596ed0b0763141f2a2527f.zip
Make DecryptFragment abstract, as it should be
Diffstat (limited to 'OpenKeychain')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java
index 6b8358538..d450bdcca 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java
@@ -38,7 +38,7 @@ import org.sufficientlysecure.keychain.pgp.PgpDecryptVerifyResult;
import org.sufficientlysecure.keychain.pgp.PgpKeyHelper;
import org.sufficientlysecure.keychain.ui.dialog.PassphraseDialogFragment;
-public class DecryptFragment extends Fragment {
+public abstract class DecryptFragment extends Fragment {
private static final int RESULT_CODE_LOOKUP_KEY = 0x00007006;
protected long mSignatureKeyId = 0;
@@ -217,8 +217,6 @@ public class DecryptFragment extends Fragment {
*
* @param passphrase
*/
- protected void decryptStart(String passphrase) {
-
- }
+ protected abstract void decryptStart(String passphrase);
}