Use application context
This commit is contained in:
parent
9e1f732b23
commit
1d0eeef047
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue