summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2021-03-22 05:19:24 +0000
committerHai Zhang <zhanghai@google.com>2021-03-22 05:29:00 +0000
commit9680f394daf3ca3269af88c0bd93d6ad13093b61 (patch)
tree677e96eab6f2c3612cad8621ce17474e58f1833f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1fe4cb3e5da87d73ebb5e222d76612df117e4e43 (diff)
Fix revokePermissionsNoLongerImplicitLocked() for shared UIDs.
The method should have considered all the packages in a shared UID, but it only took the package passed in into consideration, and would incorrectly revoke permissions that's implicit from another package in the same UID. The proper way is to always consider permission state by UID, but as a simple fix, considering each package only by their requested permissions works the same. The revocation of permissions no longer requested is handled elsewhere and involves removing the entire permission state, so it's also safe to only consider requested permissions here. Bug: 183304624 Test: manual Change-Id: I26b4bd7007cfed662c56628723e4be2718093880
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions