mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +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);
|
Log.i("PGP binding to " + pkg + " timeout=" + timeout);
|
||||||
|
|
||||||
CountDownLatch latch = new CountDownLatch(1);
|
CountDownLatch latch = new CountDownLatch(1);
|
||||||
OpenPgpServiceConnection pgpService = new OpenPgpServiceConnection(context, pkg,
|
OpenPgpServiceConnection pgpService = new OpenPgpServiceConnection(context.getApplicationContext(), pkg,
|
||||||
new OpenPgpServiceConnection.OnBound() {
|
new OpenPgpServiceConnection.OnBound() {
|
||||||
@Override
|
@Override
|
||||||
public void onBound(IOpenPgpService2 service) {
|
public void onBound(IOpenPgpService2 service) {
|
||||||
|
|
Loading…
Reference in a new issue