mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Bind to PGP using app context
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user