summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/blinkt
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-06-20 00:35:08 +0200
committerParménides GV <parmegv@sdf.org>2014-06-20 12:44:02 +0200
commitd0383a325d3ec81be8dc354cb806f74b8d047c23 (patch)
treefdf0ac7c939e41c9ce70131be78446cea4a59dfe /app/src/main/java/de/blinkt
parentf47cacd3a8ea7727f2f8577effef34271b9ff96c (diff)
Removed isRunning from OpenVpnService.
We use the broadcasted eip status from ics-openvpn to know if we're connected or not.
Diffstat (limited to 'app/src/main/java/de/blinkt')
-rw-r--r--app/src/main/java/de/blinkt/openvpn/core/OpenVpnService.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/src/main/java/de/blinkt/openvpn/core/OpenVpnService.java b/app/src/main/java/de/blinkt/openvpn/core/OpenVpnService.java
index b5bba5d4..f08684b6 100644
--- a/app/src/main/java/de/blinkt/openvpn/core/OpenVpnService.java
+++ b/app/src/main/java/de/blinkt/openvpn/core/OpenVpnService.java
@@ -72,13 +72,6 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac
private String mLastTunCfg;
private String mRemoteGW;
- //TODO We should know if this is running or not without this method
- public boolean isRunning() {
- if (mStarting == true || mProcessThread != null)
- return true;
- else
- return false;
- }
// From: http://stackoverflow.com/questions/3758606/how-to-convert-byte-size-into-human-readable-format-in-java
public static String humanReadableByteCount(long bytes, boolean mbit) {
if (mbit)