diff options
author | Eran Messeri <eranm@google.com> | 2020-12-02 15:34:37 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2020-12-09 18:57:03 +0000 |
commit | f7e85a12faf75dd313a074381bf49af7cd07ce4e (patch) | |
tree | 14fa2afe2c839bbfc89fe44b79c6c8a10ffcc4ab /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d90d2cad62f3cf33192fa4f6684aeda0cb9d0f87 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions