diff options
author | Felipe Leme <felipeal@google.com> | 2021-04-26 15:34:59 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2021-04-26 17:35:11 -0700 |
commit | f4710f6f95f748789b37f932204012be5738ecb7 (patch) | |
tree | b62486d52d25079b39f0ab5f66962f7f2803ea88 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8479536f6e8e63af40011ac209e53d2793148cf9 (diff) |
Fixed DPMS.listForegroundAffiliatedUsers().
It was not properly clearing the caller's identity, so it would
fail "in real life" when the DPC doesn't have INTERACT_ACROSS_USERS
(but it was passing on CTS because the test app had it).
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testListForegroundAffiliatedUsers_onlyForegroundUserCalledByDeviceOwner # on automotive
Fixes: 186455856
Change-Id: I2924f5cdf90e767c4f2ae534788baa5c448126c5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions