diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java b/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java index 4306b01e..1391c722 100644 --- a/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java +++ b/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java @@ -1,8 +1,6 @@ package com.wireguard.android.backend; import android.content.Context; -import android.system.ErrnoException; -import android.system.OsConstants; import android.util.Log; import com.wireguard.android.model.Tunnel; @@ -30,14 +28,12 @@ import java9.util.stream.Stream; public final class WgQuickBackend implements Backend { private static final String TAG = "WireGuard/" + WgQuickBackend.class.getSimpleName(); - private final Context context; private final File localTemporaryDir; private final RootShell rootShell; private final ToolsInstaller toolsInstaller; public WgQuickBackend(final Context context, final RootShell rootShell, final ToolsInstaller toolsInstaller) { - this.context = context; localTemporaryDir = new File(context.getCacheDir(), "tmp"); this.rootShell = rootShell; this.toolsInstaller = toolsInstaller; |