Skip to content
Commit e1233195 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

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
parent 8538ceba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment