diff options
Diffstat (limited to 'tunnel/src/main/java')
5 files changed, 5 insertions, 5 deletions
diff --git a/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java b/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java index 978b39aa..34008f45 100644 --- a/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java +++ b/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java @@ -35,7 +35,7 @@ import androidx.collection.ArraySet; @NonNullForAll public final class GoBackend implements Backend { - private static final String TAG = "WireGuard/" + GoBackend.class.getSimpleName(); + private static final String TAG = "WireGuard/GoBackend"; @Nullable private static AlwaysOnCallback alwaysOnCallback; private static GhettoCompletableFuture<VpnService> vpnService = new GhettoCompletableFuture<>(); private final Context context; diff --git a/tunnel/src/main/java/com/wireguard/android/backend/WgQuickBackend.java b/tunnel/src/main/java/com/wireguard/android/backend/WgQuickBackend.java index 78d7d5b6..d4d1f152 100644 --- a/tunnel/src/main/java/com/wireguard/android/backend/WgQuickBackend.java +++ b/tunnel/src/main/java/com/wireguard/android/backend/WgQuickBackend.java @@ -41,7 +41,7 @@ import java9.util.stream.Stream; @NonNullForAll public final class WgQuickBackend implements Backend { - private static final String TAG = "WireGuard/" + WgQuickBackend.class.getSimpleName(); + private static final String TAG = "WireGuard/WgQuickBackend"; private final File localTemporaryDir; private final RootShell rootShell; private final Map<Tunnel, Config> runningConfigs = new HashMap<>(); diff --git a/tunnel/src/main/java/com/wireguard/android/util/RootShell.java b/tunnel/src/main/java/com/wireguard/android/util/RootShell.java index 160ba12f..9c175552 100644 --- a/tunnel/src/main/java/com/wireguard/android/util/RootShell.java +++ b/tunnel/src/main/java/com/wireguard/android/util/RootShell.java @@ -29,7 +29,7 @@ import androidx.annotation.Nullable; @NonNullForAll public class RootShell { private static final String SU = "su"; - private static final String TAG = "WireGuard/" + RootShell.class.getSimpleName(); + private static final String TAG = "WireGuard/RootShell"; private final File localBinaryDir; private final File localTemporaryDir; diff --git a/tunnel/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java b/tunnel/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java index 1bb3659f..6b2c6142 100644 --- a/tunnel/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java +++ b/tunnel/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java @@ -27,7 +27,7 @@ import androidx.annotation.RestrictTo.Scope; @NonNullForAll @RestrictTo(Scope.LIBRARY_GROUP) public final class SharedLibraryLoader { - private static final String TAG = "WireGuard/" + SharedLibraryLoader.class.getSimpleName(); + private static final String TAG = "WireGuard/SharedLibraryLoader"; private SharedLibraryLoader() { } diff --git a/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java b/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java index 86792cb7..81e9ebeb 100644 --- a/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java +++ b/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java @@ -39,7 +39,7 @@ public final class ToolsInstaller { new File("/system/bin"), }; @Nullable private static final File INSTALL_DIR = getInstallDir(); - private static final String TAG = "WireGuard/" + ToolsInstaller.class.getSimpleName(); + private static final String TAG = "WireGuard/ToolsInstaller"; private final Context context; private final File localBinaryDir; |