diff options
author | Alex Johnston <acjohnston@google.com> | 2021-04-27 10:33:48 +0100 |
---|---|---|
committer | Alex Johnston <acjohnston@google.com> | 2021-04-30 10:09:51 +0100 |
commit | 9bedbd28b8c34feeed0ee373fed5ee7d7d3cc1aa (patch) | |
tree | 8a1a62e8ed2b05c6c54ff6cf4bd4ffadbcd83cac /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | eb54ad9beea119cee96b7792b07594fc6536ebdd (diff) |
DPM Check for unaffiliated secondary users
* Add authorization check in DPMS for API
methods to set the private DNS mode and
the recommended global proxy.
* When there is a unaffiliated user, it is
assumed that it is managed separately.
* These are device-wide policies that affect
all users, so should only be set when it is
the same managing entity and all users on
the device are affiliated.
Bug: 177926343
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.DeviceOwnerTest#testProxyPacProxyTest
atest com.android.cts.devicepolicy.DeviceOwnerTest#testProxyStaticProxyTest
Change-Id: I119a84988ad3cda42b709dbc6d63acf76b0031d6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions