summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2017-05-10 11:20:51 +0200
committerArne Schwabe <arne@rfc2549.org>2017-05-10 11:21:01 +0200
commitd3812892c894887ee8191ae84cc3a9f3d2e3fe88 (patch)
treeee320b167176cef7489fbab9520f66e4052c1198 /main
parent3f2865340d7017078b0a97cb49d343a73362bc2f (diff)
Update copyrights
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/OpenVPNStatusService.java4
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java1
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/Preferences.java3
-rw-r--r--main/src/main/res/drawable/ic_shortcut_cancel.xml5
-rw-r--r--main/src/main/res/drawable/ic_shortcut_vpn_key.xml5
-rw-r--r--main/src/test/java/de/blinkt/openvpn/core/TestLogFileHandler.java5
6 files changed, 15 insertions, 8 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/core/OpenVPNStatusService.java b/main/src/main/java/de/blinkt/openvpn/core/OpenVPNStatusService.java
index 29f4ddaa..d025b2d4 100644
--- a/main/src/main/java/de/blinkt/openvpn/core/OpenVPNStatusService.java
+++ b/main/src/main/java/de/blinkt/openvpn/core/OpenVPNStatusService.java
@@ -17,14 +17,10 @@ import android.os.RemoteException;
import android.support.annotation.Nullable;
import android.util.Pair;
-import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.lang.ref.WeakReference;
-import de.blinkt.openvpn.api.ExternalOpenVPNService;
-import de.blinkt.openvpn.api.IOpenVPNStatusCallback;
-
/**
* Created by arne on 08.11.16.
*/
diff --git a/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java b/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java
index 3360ddc4..2dfcf8c5 100644
--- a/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java
+++ b/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java
@@ -333,7 +333,6 @@ public class OpenVpnManagementThread implements Runnable, OpenVPNManagement {
private void handleHold(String argument) {
int waittime = Integer.parseInt(argument.split(":")[1]);
- waittime=15;
if (shouldBeRunning()) {
if (waittime > 1)
VpnStatus.updateStateString("CONNECTRETRY", String.valueOf(waittime),
diff --git a/main/src/main/java/de/blinkt/openvpn/core/Preferences.java b/main/src/main/java/de/blinkt/openvpn/core/Preferences.java
index 16da955f..76a064ff 100644
--- a/main/src/main/java/de/blinkt/openvpn/core/Preferences.java
+++ b/main/src/main/java/de/blinkt/openvpn/core/Preferences.java
@@ -7,9 +7,6 @@ package de.blinkt.openvpn.core;
import android.content.Context;
import android.content.SharedPreferences;
-import android.preference.PreferenceManager;
-
-import de.blinkt.openvpn.LaunchVPN;
/**
* Created by arne on 08.01.17.
diff --git a/main/src/main/res/drawable/ic_shortcut_cancel.xml b/main/src/main/res/drawable/ic_shortcut_cancel.xml
index 21778ead..bf7daf58 100644
--- a/main/src/main/res/drawable/ic_shortcut_cancel.xml
+++ b/main/src/main/res/drawable/ic_shortcut_cancel.xml
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) 2012-2017 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
diff --git a/main/src/main/res/drawable/ic_shortcut_vpn_key.xml b/main/src/main/res/drawable/ic_shortcut_vpn_key.xml
index 1e32bac2..780c1316 100644
--- a/main/src/main/res/drawable/ic_shortcut_vpn_key.xml
+++ b/main/src/main/res/drawable/ic_shortcut_vpn_key.xml
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) 2012-2017 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
diff --git a/main/src/test/java/de/blinkt/openvpn/core/TestLogFileHandler.java b/main/src/test/java/de/blinkt/openvpn/core/TestLogFileHandler.java
index c35df598..b32e5efa 100644
--- a/main/src/test/java/de/blinkt/openvpn/core/TestLogFileHandler.java
+++ b/main/src/test/java/de/blinkt/openvpn/core/TestLogFileHandler.java
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2012-2017 Arne Schwabe
+ * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ */
+
package de.blinkt.openvpn.core;
import android.annotation.SuppressLint;