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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user