summaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2016-02-29 17:07:32 +0100
committerArne Schwabe <arne@rfc2549.org>2016-02-29 17:07:32 +0100
commit0904fdce16bd566fc7d70175b7403ced1a9706a8 (patch)
treeab6c4233139b8f99944d581667614be0cc7f997f /main/src
parent5e078020bfc7a49c8d6011c3c4c184d5593df40a (diff)
Fix last commit
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java2
-rw-r--r--main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java b/main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java
index 3ba4f585..cc7e2266 100644
--- a/main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java
+++ b/main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java
@@ -81,7 +81,7 @@ public class DisconnectVPN extends Activity implements DialogInterface.OnClickLi
if (which == DialogInterface.BUTTON_POSITIVE) {
ProfileManager.setConntectedVpnProfileDisconnected(this);
if (mService != null && mService.getManagement() != null)
- mService.getManagement().stopVPN();
+ mService.getManagement().stopVPN(false);
}
finish();
}
diff --git a/main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java b/main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java
index a3b43dc9..00680d4f 100644
--- a/main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java
+++ b/main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java
@@ -83,7 +83,7 @@ public class ExternalOpenVPNService extends Service implements StateListener {
if (ProfileManager.isTempProfile()) {
if(intent.getPackage().equals(vp.mProfileCreator)) {
if (mService != null && mService.getManagement() != null)
- mService.getManagement().stopVPN();
+ mService.getManagement().stopVPN(false);
}
}
}
@@ -305,7 +305,7 @@ public class ExternalOpenVPNService extends Service implements StateListener {
public void disconnect() throws RemoteException {
checkOpenVPNPermission();
if (mService != null && mService.getManagement() != null)
- mService.getManagement().stopVPN();
+ mService.getManagement().stopVPN(false);
}
@Override