summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlex Johnston <acjohnston@google.com>2021-04-13 11:56:20 +0100
committerAlex Johnston <acjohnston@google.com>2021-04-14 09:52:11 +0000
commitc40355f469dc6761c262705ed534af638980da1d (patch)
treea61f1ad273aa6f11d6b105f0ad8fa479365c7e5c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0d4e510467b9a3cc73c870e6493ddc22a0003795 (diff)
DPMS setDeviceOwner access control
* Check whether the caller is system or has permission to set the device owner before checking whether the package exists on device. Manual testing * Call DPMS setDeviceOwner with an installed package but not as the system caller * Call DPMS setDeviceOwner with an uninstalled package and not as the system caller * Both calls should give the same error message and logs. Bug: 184525740 Test: manual testing atest com.android.server.devicepolicy.DevicePolicyManagerTest atest com.android.cts.devicepolicy.DeviceOwnerTest Change-Id: I5654ef420ff44af01d475595609bb85fec132ce1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions