summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAlex Kershaw <alexkershaw@google.com>2020-11-29 18:21:57 +0000
committerAlex Kershaw <alexkershaw@google.com>2021-01-06 13:08:42 +0000
commit72704403aabf41e2807cc67388faafdf4457f924 (patch)
treec4147b2a1cdfbd56a6133cab04774e0193c7d4bc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6bcc71b13609f0d598ab3208b2a4fd90019e574d (diff)
[RESTRICT AUTOMERGE] 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 Bug: 174642338 Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testSetWallpaper_disallowed Change-Id: I52b71000fac31ff6725ddded58206f69b263ae33 (cherry picked from commit 5b36ee3f1d2c60473f4c30161cca6a62cd9ea71f)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions