am 5cd8e6a4: Merge "Remove exception check in testWipeData CTS test" into lmp-sprout-dev
* commit '5cd8e6a430babeb8255e3dfe874c2b6709a0dac3':
Remove exception check in testWipeData CTS test
diff --git a/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/WipeDataTest.java b/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/WipeDataTest.java
index b548c96..76a9e44 100644
--- a/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/WipeDataTest.java
+++ b/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/WipeDataTest.java
@@ -45,12 +45,6 @@
}
public void testWipeData() throws InterruptedException {
- try {
- mDevicePolicyManager.wipeData(DevicePolicyManager.WIPE_EXTERNAL_STORAGE);
- fail("Should not be able to wipe external storage from managed profile.");
- } catch (SecurityException expected) {
- }
-
UserHandle currentUser = Process.myUserHandle();
assertTrue(mUserManager.getUserProfiles().contains(currentUser));