summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/OpenVpnService.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-08-13 23:09:21 +0200
committerArne Schwabe <arne@rfc2549.org>2012-08-13 23:09:21 +0200
commit4efa4da4839e61e20eb42e6d0c9b77af61347665 (patch)
tree67a1475da8787c94aaa8e067ded921643be610b6 /src/de/blinkt/openvpn/OpenVpnService.java
parent4dbad7ca28990e93f24e202c2e67c83d91a89215 (diff)
Allow editing the VPN Config from the log screen to ease configuration iterations
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVpnService.java')
-rw-r--r--src/de/blinkt/openvpn/OpenVpnService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnService.java b/src/de/blinkt/openvpn/OpenVpnService.java
index 01def8eb..594b07d4 100644
--- a/src/de/blinkt/openvpn/OpenVpnService.java
+++ b/src/de/blinkt/openvpn/OpenVpnService.java
@@ -67,7 +67,7 @@ public class OpenVpnService extends VpnService implements StateListener {
OpenVpnManagementThread.stopOpenVPN();
mServiceThread=null;
stopSelf();
- ProfileManager.onBootDelete(this);
+ ProfileManager.setConntectedVpnProfileDisconnected(this);
};
private void hideNotification() {
@@ -201,7 +201,7 @@ public class OpenVpnService extends VpnService implements StateListener {
mServiceThread = new Thread(serviceThread, "OpenVPNServiceThread");
mServiceThread.start();
- ProfileManager.setOnBootProfile(this, mProfile);
+ ProfileManager.setConnectedVpnProfile(this, mProfile);
return START_NOT_STICKY;
}