summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/main/res')
-rw-r--r--ui/src/main/res/values/strings.xml2
-rw-r--r--ui/src/main/res/xml/app_restrictions.xml13
2 files changed, 15 insertions, 0 deletions
diff --git a/ui/src/main/res/values/strings.xml b/ui/src/main/res/values/strings.xml
index f3c4eb4e..63703ad6 100644
--- a/ui/src/main/res/values/strings.xml
+++ b/ui/src/main/res/values/strings.xml
@@ -101,6 +101,8 @@
<string name="dark_theme_summary_on">Currently using dark (night) theme</string>
<string name="dark_theme_title">Use dark theme</string>
<string name="delete">Delete</string>
+ <string name="disable_config_export_title">Disable config exporting</string>
+ <string name="disable_config_export_description">Disabling config exporting makes private keys less accessible</string>
<string name="dns_servers">DNS servers</string>
<string name="edit">Edit</string>
<string name="endpoint">Endpoint</string>
diff --git a/ui/src/main/res/xml/app_restrictions.xml b/ui/src/main/res/xml/app_restrictions.xml
new file mode 100644
index 00000000..039af8c4
--- /dev/null
+++ b/ui/src/main/res/xml/app_restrictions.xml
@@ -0,0 +1,13 @@
+<!--
+ ~ Copyright © 2020 WireGuard LLC. All Rights Reserved.
+ ~ SPDX-License-Identifier: Apache-2.0
+ -->
+
+<restrictions xmlns:android="http://schemas.android.com/apk/res/android">
+ <restriction
+ android:defaultValue="false"
+ android:description="@string/disable_config_export_description"
+ android:key="disable_config_export"
+ android:restrictionType="bool"
+ android:title="@string/disable_config_export_title" />
+</restrictions>