diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-02-28 13:16:31 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-02-28 13:16:31 +0530 |
commit | 5e94adc73a302eff41e63b133d2a3bc14dc14028 (patch) | |
tree | b20574133c9d361abd3de296800db8d547da7fac /app/src/main/java/com/wireguard/android/Application.java | |
parent | 44fc0228a9dadda781e5e604632a703d73c2d5bd (diff) |
ModuleLoader: Staticize isModuleLoaded
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/java/com/wireguard/android/Application.java')
-rw-r--r-- | app/src/main/java/com/wireguard/android/Application.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/wireguard/android/Application.java b/app/src/main/java/com/wireguard/android/Application.java index bd848e66..9b40fcd6 100644 --- a/app/src/main/java/com/wireguard/android/Application.java +++ b/app/src/main/java/com/wireguard/android/Application.java @@ -73,7 +73,7 @@ public class Application extends android.app.Application { if (app.backend == null) { Backend backend = null; boolean didStartRootShell = false; - if (!app.moduleLoader.isModuleLoaded() && app.moduleLoader.moduleMightExist()) { + if (!ModuleLoader.isModuleLoaded() && app.moduleLoader.moduleMightExist()) { try { app.rootShell.start(); didStartRootShell = true; @@ -81,7 +81,7 @@ public class Application extends android.app.Application { } catch (final Exception ignored) { } } - if (app.moduleLoader.isModuleLoaded()) { + if (ModuleLoader.isModuleLoaded()) { try { if (!didStartRootShell) app.rootShell.start(); |