mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Added PGP load fail-safe
This commit is contained in:
@@ -1452,6 +1452,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
pgpService = new OpenPgpServiceConnection(getContext(), pkg, new OpenPgpServiceConnection.OnBound() {
|
||||
@Override
|
||||
public void onBound(IOpenPgpService2 service) {
|
||||
Log.i("Bound to " + pkg);
|
||||
load.run();
|
||||
}
|
||||
|
||||
@@ -1462,6 +1463,9 @@ public class FragmentCompose extends FragmentBase {
|
||||
}
|
||||
});
|
||||
pgpService.bindToService();
|
||||
|
||||
// Fall-safe
|
||||
getMainHandler().postDelayed(load, 250);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user