CTS Verifier test for wipe on login failure
This CL adds a CTS Verifier tests for the DO Disclosures telling the
user that the admin configured the device and/or work profile to wipe
itself after a given number of authentication failures.
Bug: 32692748
Test: CTS Verifier > Managed Provisioning > Device Owner Tests >
Privacy info test > Wipe on authentication failure.*
Change-Id: Iacdbc2939391012785bbf4303ff8de3b12b8e570
diff --git a/apps/CtsVerifier/res/xml/device_admin_comp_profile.xml b/apps/CtsVerifier/res/xml/device_admin_comp_profile.xml
index 3e6b332..784258d 100644
--- a/apps/CtsVerifier/res/xml/device_admin_comp_profile.xml
+++ b/apps/CtsVerifier/res/xml/device_admin_comp_profile.xml
@@ -15,5 +15,10 @@
-->
<!-- BEGIN_INCLUDE(meta_data) -->
-<device-admin xmlns:android="http://schemas.android.com/apk/res/android"/>
+<device-admin xmlns:android="http://schemas.android.com/apk/res/android">
+ <uses-policies>
+ <wipe-data />
+ <watch-login />
+ </uses-policies>
+</device-admin>
<!-- END_INCLUDE(meta_data) -->