summaryrefslogtreecommitdiffhomepage
path: root/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-10 08:41:29 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-10 08:44:38 -0600
commit6b304391b52285c1b5cb2c8105c39bfe515f50ef (patch)
treec320c2b79343b6f30f8b2bd43fb7213ef134ea43 /tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java
parent8f85e4c88fb24457c8a49f77e5bad1359faebb3e (diff)
global: java access control has important semantic meaning
It's not right to blindly follow all of AndroidStudio's suggestions, especially for things in tunnel/ which comprise useful API. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java')
-rw-r--r--tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java2
1 files changed, 1 insertions, 1 deletions
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 7c7be392..3fbdfb26 100644
--- a/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java
+++ b/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java
@@ -107,7 +107,7 @@ public final class ToolsInstaller {
}
}
- private boolean extract() throws IOException {
+ public boolean extract() throws IOException {
localBinaryDir.mkdirs();
final File[] files = new File[EXECUTABLES.length];
final File[] tempFiles = new File[EXECUTABLES.length];