mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Bind to PGP using app context
This commit is contained in:
parent
9986d47020
commit
aa772f63b8
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public class PgpHelper {
|
|||
Log.i("PGP binding to " + pkg + " timeout=" + timeout);
|
||||
|
||||
CountDownLatch latch = new CountDownLatch(1);
|
||||
OpenPgpServiceConnection pgpService = new OpenPgpServiceConnection(context, pkg,
|
||||
OpenPgpServiceConnection pgpService = new OpenPgpServiceConnection(context.getApplicationContext(), pkg,
|
||||
new OpenPgpServiceConnection.OnBound() {
|
||||
@Override
|
||||
public void onBound(IOpenPgpService2 service) {
|
||||
|
|
Loading…
Reference in a new issue