diff options
author | cyberta <cyberta@riseup.net> | 2021-12-11 16:30:36 +0000 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2021-12-11 16:30:36 +0000 |
commit | 42a3735356881633004dfb6ed3c60fe8b7d26689 (patch) | |
tree | 9f54e737b24f9877938e79dd5726cb084be02d7e /app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java | |
parent | 5aaa3bb1c83d486e300eb98876eab26ad4325b82 (diff) | |
parent | e7c09efba8a06bc7a000d525aff5ac027339023e (diff) |
Merge branch 'bugfixes' into 'master'
bug fixes
See merge request leap/bitmask_android!153
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java b/app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java index 46704419..b5229b0a 100644 --- a/app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java +++ b/app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java @@ -28,7 +28,7 @@ import static se.leap.bitmaskclient.base.models.Constants.PROVIDER_PROFILE; public class EipCommand { private static void execute(@NonNull Context context, @NonNull String action) { - execute(context.getApplicationContext(), action, null, null); + execute(context, action, null, null); } /** @@ -46,7 +46,7 @@ public class EipCommand { vpnIntent.setAction(action); if (resultReceiver != null) vpnIntent.putExtra(EIP_RECEIVER, resultReceiver); - EIP.enqueueWork(context, vpnIntent); + EIP.enqueueWork(context.getApplicationContext(), vpnIntent); } public static void startVPN(@NonNull Context context, boolean earlyRoutes) { |