Increase CtsManagedProfileApp minSdkVersion to 27.
This prevents the backwards compatibility permissions dialog from
showing during our tests.
Bug: 112110611
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileProvisioningTest#testManagedProfileProvisioning
Test: atest
CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileProvisioningTest#testEXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE
Test: atest
CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileProvisioningTest#testVerifySuccessfulIntentWasReceived
Test: atest
CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileProvisioningTest#testAccountMigration
Test: atest
CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileProvisioningTest#testWebview
Test: atest
CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileProvisioningTest#testAccountCopy
Change-Id: I66eb6a574ebcfd3e571ba8fdae8f4025a261e446
diff --git a/hostsidetests/devicepolicy/app/ManagedProfile/AndroidManifest.xml b/hostsidetests/devicepolicy/app/ManagedProfile/AndroidManifest.xml
index 58e232b..479f97f 100644
--- a/hostsidetests/devicepolicy/app/ManagedProfile/AndroidManifest.xml
+++ b/hostsidetests/devicepolicy/app/ManagedProfile/AndroidManifest.xml
@@ -17,7 +17,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.cts.managedprofile">
- <uses-sdk android:minSdkVersion="20"/>
+ <uses-sdk android:minSdkVersion="27"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />