summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorkholoud mohamed <kholoudm@google.com>2021-05-04 16:33:54 +0100
committerkholoud mohamed <kholoudm@google.com>2021-05-07 10:34:00 +0100
commit4670d1d855a853852980148d99b190171db4ec79 (patch)
tree192acb2228b95f17c3434e708b5c97a8cfff7504 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6dbbc95c95c52ea2858018d27ab2a38ca60ba28c (diff)
Changed INTERACT_ACROSS_PROFILES appop to be set per UID
In some cases, enforceCrossUserOrProfilePermission fails for packages which have INTERACT_ACROSS_PROFILE appop granted if it shares the uid with another package that doesn't hold the permission, this is because getPackagesForUid is used to get the callingPackage which could return either packages randomly. I've changed setting the appop to be per uid instead of per package, Test: manual testing Bug: 183188804 Bug: 183730243 Change-Id: I7a72c1d3abd1f83924865326797630ded2f2040f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions