Remove wipeDataWithReason precondition check
Bug: 166116584
Bug: 166115418
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.ManagedProfileWipeTest#testWipeDataWithoutReason
atest com.android.cts.devicepolicy.ManagedProfileWipeTest#testWipeData
atest com.android.cts.devicepolicy.ManagedProfileWipeTest#testWipeDataLogged
atest com.android.cts.devicepolicy.ManagedProfileWipeTest#testWipeDataWithReason
atest com.android.cts.devicepolicy.DeviceOwnerPlusProfileOwnerTest#testWipeData_secondaryUserLogged
atest com.android.cts.devicepolicy.DeviceOwnerPlusProfileOwnerTest#testWipeData_secondaryUser
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testCanRelinquishControlOverDevice
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testUserRestrictionsSetOnParentAreNotPersisted
Change-Id: I6b827889509cc7a7753d733716e1885aa637d551
1 file changed