diff options
author | Pavel Grafov <pgrafov@google.com> | 2021-04-26 22:51:36 +0100 |
---|---|---|
committer | Pavel Grafov <pgrafov@google.com> | 2021-05-11 15:29:40 +0100 |
commit | ea96577017261deb504a15d70ad0272bfb99e4a5 (patch) | |
tree | 2e050d7f014366cb305a3f74f615690d5e2cdde7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8ac878739135083c2b65d9e4d3d156f37aa3d7a6 (diff) |
Clean device-wide policies on COPE PO relinquish
Policies that should be now cleaned up properly:
* setRequiredStrongAuthTimeout
* setScreenCaptureDisabled
* setPersonalAppsSuspended
* setFactoryResetProtectionPolicy
* setSecurityLoggingEnabled
* setConfiguredNetworksLockdownState
* setSystemUpdatePolicy
The cleanup is performed upon receiving ACTION_USER_REMOVED
after policy data is removed.
Bug: 162815601
Test: atest DevicePolicyManagerTest#testWipeDataManagedProfileOnOrganizationOwnedDevice
Test: atest OrgOwnedProfileOwnerTest#testCanRelinquishControlOverDevice
Change-Id: I23434c6e103a558304b6b83b86f9ea2cca5ed36c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions