summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRubin Xu <rubinxu@google.com>2020-11-04 13:52:40 +0000
committerRubin Xu <rubinxu@google.com>2020-11-24 14:56:17 +0000
commit750185ba76d8bebdd2c10930be89c2185e288e34 (patch)
tree3543b1d94811a3d8c29acb6754c0104c1f976ef2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent976aa3d404547b6e535c1a8626ebb9f215076d5e (diff)
Remove some getCallerIdentity variants in DevicePolicyManagerService
CallerIdentity object should only wrap around caller-provided and authenticated (uid, ComponentName, PackageName) tuple. In some instances the caller does not provide ComponentName or PackageName, and CallerIdentity should keep track of this instead of trying to infer the associated ComponentName or PackageName. This is because there is one-many mapping from uid to package name, so the inference can be imprecise as well as losing information of what the caller supplied originally. Instead all the isXX() access control methods should handle the case that ComponentName or PackageName might be missing. Bug: 167960209 Test: atest OrgOwnedProfileOwnerTest Test: atest MixedDeviceOwnerTest Test: atest MixedManagedProfileOwnerTest Test: atest MixedProfileOwnerTest Test: atest FrameworksServicesTests:DevicePolicyManagerTest Change-Id: I8d2dfeb2e5137ea06f941855d2e5608998a86912
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions