aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-16 04:37:11 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-16 04:37:11 -0500
commit5023c937adb71a91b5fd092533a1beb899bf97bc (patch)
tree265fb84541ba70ce122a43e17b42481f76e6550c /app/src/main/res/xml
parentVpnService: Remember and optionally restore enabled configs (diff)
downloadwireguard-android-5023c937adb71a91b5fd092533a1beb899bf97bc.tar.xz
wireguard-android-5023c937adb71a91b5fd092533a1beb899bf97bc.zip
preferences: Control restoring enabled configs
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/preferences.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 09c32942..95683a16 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -4,4 +4,9 @@
android:key="primary_config"
android:summary="@string/primary_config_summary"
android:title="@string/primary_config" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="restore_on_boot"
+ android:summary="@string/restore_on_boot_summary"
+ android:title="@string/restore_on_boot" />
</PreferenceScreen>