diff --git a/plugins/openpgp-api-lib/openpgp-api/src/main/java/org/openintents/openpgp/OpenPgpApiManager.java b/plugins/openpgp-api-lib/openpgp-api/src/main/java/org/openintents/openpgp/OpenPgpApiManager.java index 9ab68f0c6..f27ca7661 100644 --- a/plugins/openpgp-api-lib/openpgp-api/src/main/java/org/openintents/openpgp/OpenPgpApiManager.java +++ b/plugins/openpgp-api-lib/openpgp-api/src/main/java/org/openintents/openpgp/OpenPgpApiManager.java @@ -126,7 +126,9 @@ public class OpenPgpApiManager implements LifecycleObserver { getOpenPgpApi().executeApiAsync(intent, null, null, new IOpenPgpCallback() { @Override public void onReturn(Intent result) { - onPgpPermissionCheckResult(result); + if (openPgpProviderState != OpenPgpProviderState.UNCONFIGURED) { + onPgpPermissionCheckResult(result); + } } }); }