diff options
author | Felipe Leme <felipeal@google.com> | 2021-09-24 11:33:45 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2021-09-24 11:58:20 -0700 |
commit | 1b7f98457f6903a52c394f830d457781eec05b13 (patch) | |
tree | 51237c0d5fb4d7a1aeba00c018749d1b1157f3af /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 292c4941c6aca735a9af43b2e74ef1ccfff9a17b (diff) |
Fixed DPMS.setDeviceOwner() permission check.
It was not clearing the caller's identity before calling
manageUserUnchecked().
Test: atest com.android.bedstead.nene.devicepolicy.DevicePolicyTest#setDeviceOwner_deviceOwnerIsAlreadySet_throwsException
Fixes: 200810234
Change-Id: I3f96e1bf477f310d0c8eee935839cf401df44e02
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions