aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain-API/example-app
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-03-12 23:45:21 +0100
committerVincent Breitmoser <valodim@mugenguild.com>2014-03-12 23:45:21 +0100
commita9c9b6132c7b122f8155ce9fc6c21c89e5b8c298 (patch)
tree78671569d3e84f5ed3db638a194981bc7c053a88 /OpenPGP-Keychain-API/example-app
parentedb98c67f4031b8c3c1d43b49bba733171119be2 (diff)
parent69f5bf6b577234053e700a43a4a7ba721e827c6a (diff)
downloadopen-keychain-a9c9b6132c7b122f8155ce9fc6c21c89e5b8c298.tar.gz
open-keychain-a9c9b6132c7b122f8155ce9fc6c21c89e5b8c298.tar.bz2
open-keychain-a9c9b6132c7b122f8155ce9fc6c21c89e5b8c298.zip
Merge branch 'master' into certs
Conflicts: OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyHelper.java OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java
Diffstat (limited to 'OpenPGP-Keychain-API/example-app')
-rw-r--r--OpenPGP-Keychain-API/example-app/build.gradle7
-rw-r--r--OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java4
2 files changed, 6 insertions, 5 deletions
diff --git a/OpenPGP-Keychain-API/example-app/build.gradle b/OpenPGP-Keychain-API/example-app/build.gradle
index 1f8854431..e7a25e689 100644
--- a/OpenPGP-Keychain-API/example-app/build.gradle
+++ b/OpenPGP-Keychain-API/example-app/build.gradle
@@ -5,7 +5,7 @@ buildscript {
}
dependencies {
- classpath 'com.android.tools.build:gradle:0.8.3'
+ classpath 'com.android.tools.build:gradle:0.9.0'
}
}
@@ -13,12 +13,13 @@ apply plugin: 'android'
dependencies {
compile 'com.android.support:support-v4:19.0.1'
- compile project(':libraries:keychain-api-library')
+ compile project(':libraries:openpgp-api-library')
+ compile project(':libraries:openkeychain-api-library')
}
android {
compileSdkVersion 19
- buildToolsVersion "19.0.1"
+ buildToolsVersion "19.0.3"
defaultConfig {
minSdkVersion 9
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);