diff options
author | cyBerta <cyberta@riseup.net> | 2021-12-10 17:32:27 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-12-10 17:32:27 +0100 |
commit | 4a549283b18d48138e2fa51d5be09e0688d65987 (patch) | |
tree | 37d4498df9f9155d6a44a9e02ef5c7728cf3731e /app/src/main/java/se/leap | |
parent | c6ae44acadb8c124633c09c0e74f93b72595ec12 (diff) |
use guaranteed non-null Context object to start provider API
Diffstat (limited to 'app/src/main/java/se/leap')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |