diff options
author | Philip P. Moltmann <moltmann@google.com> | 2019-04-18 08:45:55 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2019-04-26 12:55:26 -0700 |
commit | e1233195e8cc19ac0c84ef2cfc1259abc5d1ebc5 (patch) | |
tree | 5939361a5e09dcf98d79498f6c3d4b864d549a37 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 8538ceba82a24b05e93d356aefdddf4504f7c190 (diff) |
Read newImplicit perms before modifying perm state
For shared uids the original and new state are the same object. Hence we
loose knowledge of the old state when we modify it. Hence check if the
perm is new & implicit before modifying the state.
Bug: 129796592
Fixes: 130707789
Test: atest CtsPermissionTestCases:android.permission.cts.SplitPermissionTest
(added new test case for shared uids)
Change-Id: I647bb28e667c3b8a93e11bd1771ad472c1a132c1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions