From 4a549283b18d48138e2fa51d5be09e0688d65987 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 10 Dec 2021 17:32:27 +0100 Subject: use guaranteed non-null Context object to start provider API --- app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java b/app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java index 24b31108..07057d6e 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java @@ -336,7 +336,7 @@ public class EipFragment extends Fragment implements Observer { Bundle bundle = new Bundle(); bundle.putBoolean(EIP_ACTION_START, true); bundle.putBoolean(EIP_EARLY_ROUTES, false); - ProviderAPICommand.execute(getContext().getApplicationContext(), DOWNLOAD_GEOIP_JSON, bundle, provider); + ProviderAPICommand.execute(context, DOWNLOAD_GEOIP_JSON, bundle, provider); } else { EipCommand.startVPN(context, false); } -- cgit v1.2.3