aboutsummaryrefslogtreecommitdiffstats
path: root/src/org
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-08-12 15:03:00 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-08-12 15:03:00 +0200
commit1d0eeef047c4938f4e25bc06f7e92e83aa46a4c4 (patch)
tree19efc7deb618c395e28508e86f4be807364036b1 /src/org
parent9e1f732b23d3b5df042f627d65a8ca37cec023fd (diff)
Use application context
Diffstat (limited to 'src/org')
-rw-r--r--src/org/openintents/openpgp/util/OpenPgpServiceConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/openintents/openpgp/util/OpenPgpServiceConnection.java b/src/org/openintents/openpgp/util/OpenPgpServiceConnection.java
index dad27ccb..15096d9e 100644
--- a/src/org/openintents/openpgp/util/OpenPgpServiceConnection.java
+++ b/src/org/openintents/openpgp/util/OpenPgpServiceConnection.java
@@ -48,7 +48,7 @@ public class OpenPgpServiceConnection {
* e.g., "org.sufficientlysecure.keychain"
*/
public OpenPgpServiceConnection(Context context, String providerPackageName) {
- this.mApplicationContext = context;
+ this.mApplicationContext = context.getApplicationContext();
this.mProviderPackageName = providerPackageName;
}