diff options
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVpnService.java')
-rw-r--r-- | src/de/blinkt/openvpn/OpenVpnService.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnService.java b/src/de/blinkt/openvpn/OpenVpnService.java index 644b060..8da49ba 100644 --- a/src/de/blinkt/openvpn/OpenVpnService.java +++ b/src/de/blinkt/openvpn/OpenVpnService.java @@ -19,9 +19,7 @@ package de.blinkt.openvpn; import java.io.IOException; import java.util.Vector; -import android.app.NotificationManager; import android.app.PendingIntent; -import android.content.Context; import android.content.Intent; import android.net.LocalSocket; import android.net.LocalSocketAddress; @@ -32,8 +30,6 @@ import android.os.ParcelFileDescriptor; import android.widget.Toast; public class OpenVpnService extends VpnService implements Handler.Callback { - private static final String TAG = "OpenVpnService"; - Handler mHandler; private Thread mServiceThread; @@ -53,8 +49,6 @@ public class OpenVpnService extends VpnService implements Handler.Callback { private Thread mSocketManagerThread; - private NotificationManager mNotificationManager; - class CIDRIP{ @@ -135,9 +129,6 @@ public class OpenVpnService extends VpnService implements Handler.Callback { mHandler = new Handler(this); } - mNotificationManager=(NotificationManager) getSystemService( Context.NOTIFICATION_SERVICE); - - // Stop the previous session by interrupting the thread. if (mSocketManager != null) { mSocketManager.managmentCommand("signal SIGINT\n"); |