summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-02-28 19:17:46 +0100
committercyBerta <cyberta@riseup.net>2021-02-28 19:17:46 +0100
commit8717fc9b65c29ef9e54d6d0dac26a52446afa3d4 (patch)
tree4e7a27a47b91bf50de419390b9b40f8ddef73fd1
parent6bd95d13c7a03da19ba3274b923445a8e49dcdde (diff)
remove unused method
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java b/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java
index 8dcff6a9..2f27fd0d 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java
@@ -266,16 +266,6 @@ public class EipSetupObserver extends BroadcastReceiver implements VpnStatus.Sta
VpnStatus.addStateListener(this);
}
- private void launchVPN(VpnProfile vpnProfile) {
- EipCommand.launchVPNProfile(context, vpnProfile, setupNClosestGateway.get());
- Intent intent = new Intent(context.getApplicationContext(), LaunchVPN.class);
- intent.setAction(Intent.ACTION_MAIN);
- intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
- intent.putExtra(PROVIDER_PROFILE, vpnProfile);
- intent.putExtra(EIP_N_CLOSEST_GATEWAY, setupNClosestGateway.get());
- context.startActivity(intent);
- }
-
@Override
public void updateState(String state, String logmessage, int localizedResId, ConnectionStatus level) {
// VpnStatus.updateStateString("NOPROCESS", "No process running.", R.string.state_noprocess, ConnectionStatus.LEVEL_NOTCONNECTED);