Fix testPasswordMinimumRestrictions

Fix failure of
ManagedProfilePasswordTest#testPasswordMinimumRestrictions.

The test was failing because recent platform changes restrict the DPC
from setting password quality on the parent profile DevicePolicyManager
instance.

To enable testing that the old behaviour is maintained, disable the
change for this test using 'am compat' adb command.

Bug: 174674005
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfilePasswordTest#testPasswordMinimumRestrictions
Change-Id: I36edfe43a5380d1d56489ec4a4b76b20ec20cf8e
1 file changed