TunnelManager: enable Tasker support

Also fix up wording for the permission prompt that Tasker will show when
initially setting this up.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld committed 2020-03-22 00:51:37 -06:00
1 parent cf25ae4448
commit edba640641
9 files changed
+11 -11

No files matched your search

@@ -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;