summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-22 00:38:15 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-22 00:51:37 -0600
commitedba6406418578432134bbd70d88e7d19e0e1004 (patch)
treefaffd89cb2abf750e70324481f928d75d0203ff9 /ui/src/main/res/xml
parentcf25ae444860317dc24746424818cc1bc555ba97 (diff)
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>
Diffstat (limited to 'ui/src/main/res/xml')
-rw-r--r--ui/src/main/res/xml/preferences.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/src/main/res/xml/preferences.xml b/ui/src/main/res/xml/preferences.xml
index d7955052..0f674108 100644
--- a/ui/src/main/res/xml/preferences.xml
+++ b/ui/src/main/res/xml/preferences.xml
@@ -24,4 +24,10 @@
android:summaryOn="@string/dark_theme_summary_on"
android:title="@string/dark_theme_title" />
<com.wireguard.android.preference.KernelModuleDisablerPreference android:key="kernel_module_disabler" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="allow_remote_control_intents"
+ android:summaryOff="@string/allow_remote_control_intents_summary_off"
+ android:summaryOn="@string/allow_remote_control_intents_summary_on"
+ android:title="@string/allow_remote_control_intents_title" />
</androidx.preference.PreferenceScreen>