diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-31 16:40:50 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-31 16:40:50 +0200 |
commit | 8c32c32c2b34d20b4376aa617a900132d2c14d24 (patch) | |
tree | 6bd24f39ccb38734ce170ff3327289cbfacc2bf6 | |
parent | e664a05d4b77cd398b80b34f0e4aea068596f80b (diff) |
wg-quick: don't break push notifications
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | app/src/main/java/com/wireguard/android/util/ToolsInstaller.java | 3 | ||||
m--------- | app/tools/wireguard | 0 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java b/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java index 5b1e1341..fc2897b3 100644 --- a/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java +++ b/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java @@ -57,9 +57,10 @@ public final class ToolsInstaller { if (path == null) return INSTALL_DIRS[0]; final List<String> paths = Arrays.asList(path.split(":")); - for (final File dir : INSTALL_DIRS) + for (final File dir : INSTALL_DIRS) { if (paths.contains(dir.getPath()) && dir.isDirectory()) return dir; + } return null; } diff --git a/app/tools/wireguard b/app/tools/wireguard -Subproject 6977826c2c9840f79dc2ac6b4206a5f393e9dfb +Subproject b57461ceb01e591525201a9b8db3bf5107e51f8 |