commit | e1233195e8cc19ac0c84ef2cfc1259abc5d1ebc5 | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Thu Apr 18 08:45:55 2019 -0700 |
committer | Philip P. Moltmann <moltmann@google.com> | Fri Apr 26 12:55:26 2019 -0700 |
tree | 5939361a5e09dcf98d79498f6c3d4b864d549a37 | |
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