aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain-API/example-app/src/main/java
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-03-06 14:02:21 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2014-03-06 14:02:21 +0100
commit4c49bdccccdba14113b950aafb1595ff02663dfd (patch)
tree1ce679e285bcd5ab2e64add0fac8c9ed76d9ffef /OpenPGP-Keychain-API/example-app/src/main/java
parent036fdc2b388dc45dea1b26f640d3f601e8c06aec (diff)
downloadopen-keychain-4c49bdccccdba14113b950aafb1595ff02663dfd.tar.gz
open-keychain-4c49bdccccdba14113b950aafb1595ff02663dfd.tar.bz2
open-keychain-4c49bdccccdba14113b950aafb1595ff02663dfd.zip
Fix documentation and variable naming in API
Diffstat (limited to 'OpenPGP-Keychain-API/example-app/src/main/java')
-rw-r--r--OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java4
1 files changed, 2 insertions, 2 deletions
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 4d143ade6..a660b1c9a 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
@@ -202,7 +202,7 @@ public class OpenPgpProviderActivity extends Activity {
break;
}
case OpenPgpApi.RESULT_CODE_ERROR: {
- OpenPgpError error = result.getParcelableExtra(OpenPgpApi.RESULT_ERRORS);
+ OpenPgpError error = result.getParcelableExtra(OpenPgpApi.RESULT_ERROR);
handleError(error);
break;
}
@@ -234,7 +234,7 @@ public class OpenPgpProviderActivity extends Activity {
}
public void signAndEncrypt(Intent data) {
- data.setAction(OpenPgpApi.ACTION_SIGN_AND_ENCTYPT);
+ data.setAction(OpenPgpApi.ACTION_SIGN_AND_ENCRYPT);
data.putExtra(OpenPgpApi.EXTRA_USER_IDS, mEncryptUserIds.getText().toString().split(","));
data.putExtra(OpenPgpApi.EXTRA_REQUEST_ASCII_ARMOR, true);