summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-10-29 23:42:19 +0100
committercyBerta <cyberta@riseup.net>2019-10-29 23:42:19 +0100
commit7d694b7ab2ab49b79273880909dfec79e21a3d16 (patch)
tree41634b48c0b2ee78618ba9236056df67e3f14b3e /app/src/main/java/se/leap/bitmaskclient
parent88211edcfb79e523ec00b188a4dc200035740576 (diff)
don't start void vpn when switching between a running openvpn connection and vpn over pt
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
index dea54a18..25bd617a 100644
--- a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
@@ -281,7 +281,7 @@ public class NavigationDrawerFragment extends Fragment implements SharedPreferen
}
usePluggableTransports(getContext(), isChecked);
if (VpnStatus.isVPNActive()) {
- EipCommand.startVPN(getContext(), true);
+ EipCommand.startVPN(getContext(), false);
closeDrawer();
}
});