From 02a0a552ad0918b25717cfb39f7399d69655fdbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Fri, 14 Feb 2014 17:23:38 +0100 Subject: [PATCH] forgot breakes --- .../keychain/demo/OpenPgpProviderActivity.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java b/OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java index 6dc3bd562..b5b4a812e 100644 --- a/OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java +++ b/OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java @@ -301,6 +301,7 @@ public class OpenPgpProviderActivity extends Activity { if (resultCode == RESULT_OK) { sign(new Bundle()); } + break; } case REQUEST_CODE_ENCRYPT: { Log.d(Constants.TAG, "resultCode: " + resultCode); @@ -310,6 +311,7 @@ public class OpenPgpProviderActivity extends Activity { // use data extras now as params for call (they now include key ids! encrypt(data.getExtras()); } + break; } case REQUEST_CODE_SIGN_AND_ENCRYPT: { Log.d(Constants.TAG, "resultCode: " + resultCode); @@ -318,6 +320,7 @@ public class OpenPgpProviderActivity extends Activity { if (resultCode == RESULT_OK) { signAndEncrypt(data.getExtras()); } + break; } case REQUEST_CODE_DECRYPT_AND_VERIFY: { Log.d(Constants.TAG, "resultCode: " + resultCode); @@ -326,6 +329,7 @@ public class OpenPgpProviderActivity extends Activity { if (resultCode == RESULT_OK) { decryptAndVerify(new Bundle()); } + break; } } }