summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlex Kershaw <alexkershaw@google.com>2020-11-29 18:21:57 +0000
committerAlex Kershaw <alexkershaw@google.com>2020-12-01 16:26:23 +0000
commit5b36ee3f1d2c60473f4c30161cca6a62cd9ea71f (patch)
tree772f0d5107c7350f26609ebca53e86c8e86bc17c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5e3e238380c0ab76e646bc2aa9cefbb14ac79394 (diff)
Make WPMS look for DOs and POs in the correct calling user
Currently, it will always look in user 0 since it uses the DPM from mContext, which will always be from user 0 as WPMS is in the system server process. Extend DPMI to provide the necessary external helper API. This is preferable to just using createContextAsUser before getting the DPM instance since it avoids a second binding. Fixes: 144048540 Fixes: 172682826 Bug: 153995973 Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testSetWallpaper_disallowed Change-Id: I52b71000fac31ff6725ddded58206f69b263ae33
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions