Use application context

Dominik Schürmann created

Change summary

src/org/openintents/openpgp/util/OpenPgpServiceConnection.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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;
     }