From d3812892c894887ee8191ae84cc3a9f3d2e3fe88 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 10 May 2017 11:20:51 +0200 Subject: Update copyrights --- .idea/copyright/ics_openvpn_gpl.xml | 8 +++----- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 5 +++++ .../main/java/de/blinkt/openvpn/core/OpenVPNStatusService.java | 4 ---- .../main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java | 1 - main/src/main/java/de/blinkt/openvpn/core/Preferences.java | 3 --- main/src/main/res/drawable/ic_shortcut_cancel.xml | 5 +++++ main/src/main/res/drawable/ic_shortcut_vpn_key.xml | 5 +++++ main/src/test/java/de/blinkt/openvpn/core/TestLogFileHandler.java | 5 +++++ remoteExample/build.gradle | 5 +++++ remoteExample/src/main/AndroidManifest.xml | 5 +++++ .../src/main/java/de/blinkt/openvpn/remote/MainActivity.java | 5 +++++ .../src/main/java/de/blinkt/openvpn/remote/MainFragment.java | 5 +++++ remoteExample/src/main/res/layout/activity_main.xml | 5 +++++ remoteExample/src/main/res/layout/fragment_main.xml | 5 +++++ remoteExample/src/main/res/menu/main.xml | 5 +++++ remoteExample/src/main/res/values-w820dp/dimens.xml | 5 +++++ remoteExample/src/main/res/values/dimens.xml | 5 +++++ remoteExample/src/main/res/values/strings.xml | 5 +++++ remoteExample/src/main/res/values/styles.xml | 5 +++++ vpndialogxposed/build.gradle | 5 +++++ 21 files changed, 84 insertions(+), 14 deletions(-) diff --git a/.idea/copyright/ics_openvpn_gpl.xml b/.idea/copyright/ics_openvpn_gpl.xml index 8f50b74f..e78f61d3 100644 --- a/.idea/copyright/ics_openvpn_gpl.xml +++ b/.idea/copyright/ics_openvpn_gpl.xml @@ -1,9 +1,7 @@ - - + \ No newline at end of file diff --git a/build.gradle b/build.gradle index 8ba17670..65d83328 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.4.0-alpha4' + classpath 'com.android.tools.build:gradle:2.4.0-alpha6' } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 54ba7d0a..b217b6d7 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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 +# + #Wed Apr 05 16:08:37 CEST 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists 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 @@ + + + + + diff --git a/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainActivity.java b/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainActivity.java index 900383a2..41b54e17 100644 --- a/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainActivity.java +++ b/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainActivity.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.remote; import android.app.Activity; diff --git a/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainFragment.java b/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainFragment.java index a6d2baf5..6eb85e9b 100644 --- a/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainFragment.java +++ b/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainFragment.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.remote; import android.app.Activity; diff --git a/remoteExample/src/main/res/layout/activity_main.xml b/remoteExample/src/main/res/layout/activity_main.xml index 42dd4dfb..17585e2b 100644 --- a/remoteExample/src/main/res/layout/activity_main.xml +++ b/remoteExample/src/main/res/layout/activity_main.xml @@ -1,3 +1,8 @@ + + + + diff --git a/remoteExample/src/main/res/values-w820dp/dimens.xml b/remoteExample/src/main/res/values-w820dp/dimens.xml index 63fc8164..1adf4310 100644 --- a/remoteExample/src/main/res/values-w820dp/dimens.xml +++ b/remoteExample/src/main/res/values-w820dp/dimens.xml @@ -1,3 +1,8 @@ + + + 16dp diff --git a/remoteExample/src/main/res/values/strings.xml b/remoteExample/src/main/res/values/strings.xml index 49d4978d..30e05648 100644 --- a/remoteExample/src/main/res/values/strings.xml +++ b/remoteExample/src/main/res/values/strings.xml @@ -1,4 +1,9 @@ + + OpenVPN Remote diff --git a/remoteExample/src/main/res/values/styles.xml b/remoteExample/src/main/res/values/styles.xml index ff6c9d2c..746cf3dd 100644 --- a/remoteExample/src/main/res/values/styles.xml +++ b/remoteExample/src/main/res/values/styles.xml @@ -1,3 +1,8 @@ + + diff --git a/vpndialogxposed/build.gradle b/vpndialogxposed/build.gradle index 15874110..252c26b4 100644 --- a/vpndialogxposed/build.gradle +++ b/vpndialogxposed/build.gradle @@ -38,6 +38,11 @@ android { +/* + * Copyright (c) 2012-2017 Arne Schwabe + * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + */ + // ~/.gradle/gradle.properties if (project.hasProperty('keystoreFile') && project.hasProperty('keystorePassword') && -- cgit v1.2.3