From c3a13c133484e0750786b33ced635cbb2c642904 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 30 Apr 2012 18:26:01 +0200 Subject: - new Icon :) - Obscure settings - version 0.4.5 - quick launch --- src/de/blinkt/openvpn/OpenVpnService.java | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/de/blinkt/openvpn/OpenVpnService.java') 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"); -- cgit v1.2.3