summaryrefslogtreecommitdiffhomepage
path: root/app/src
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-16 05:51:11 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-17 14:35:39 -0600
commitf63aeea6b8d2b51c3664a88ff2559eaa6ace0743 (patch)
tree0e33f46736ac10fce02518ae9d27d22b0bd00553 /app/src
parent09c207b8a31cecf77e42701ca86ee772a0a598b1 (diff)
WgQuickBackend: Clean up unused fields and imports
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java4
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;