Use application context

This commit is contained in:
Dominik Schürmann 2014-08-12 15:03:00 +02:00
parent 9e1f732b23
commit 1d0eeef047

View File

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