DPM: Deprecate password quality-related methods
Deprecate setPasswordQuality and related methods, since: * setRequiredPasswordComplexity is a suitable alternative for most cases. * Password quality may not be applied to the parent profile anymore, to avoid personal data being tied to work-set lockscreen requirements. Additionally, change the exception thrown when the profile owner calls setPasswordQuality on the parent profile to be a SecurityException rather than an IllegalArgumentException Bug: 165573442 Test: atest FrameworksServicesTests:DevicePolicyManagerTest Test: atest com.android.cts.devicepolicy.ManagedProfileTest#testDevicePolicyManagerParentSupport Change-Id: Ifefca721feef67dbc2fc9f7f2b52f4d245d2bae1
Loading
Please register or sign in to comment