aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res/xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-07-23 16:38:22 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-07-23 17:35:47 +0200
commit3748a1da8894e5812a213b7b931f24197780b311 (patch)
tree1677d649c0f48ddfb9adc557f3bfb30bc07a9f86 /ui/src/main/res/xml
parentbuild: bump AGP to 4.0.1 (diff)
downloadwireguard-android-3748a1da8894e5812a213b7b931f24197780b311.tar.xz
wireguard-android-3748a1da8894e5812a213b7b931f24197780b311.zip
AdminKnobs: allow enterprise admins to disable private key export
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/app_restrictions.xml13
1 files changed, 13 insertions, 0 deletions
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>