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
2020-03-22 00:51:37 -06:00
parent cf25ae4448
commit edba640641
9 changed files with 11 additions and 11 deletions
@@ -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;