diff options
Diffstat (limited to 'ui/src/main/java')
-rw-r--r-- | ui/src/main/java/com/wireguard/android/model/TunnelManager.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/src/main/java/com/wireguard/android/model/TunnelManager.java b/ui/src/main/java/com/wireguard/android/model/TunnelManager.java index e370f8de..eb818791 100644 --- a/ui/src/main/java/com/wireguard/android/model/TunnelManager.java +++ b/ui/src/main/java/com/wireguard/android/model/TunnelManager.java @@ -275,10 +275,7 @@ public final class TunnelManager extends BaseObservable { return; } - /* We disable the below, for now, as the security model of allowing this - * might take a bit more consideration. - */ - if (true) + if (!Application.getSharedPreferences().getBoolean("allow_remote_control_intents", false)) return; final State state; |