Skip to content
Commit 11c8447e authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan
Browse files

[Role Logic Move] Lift user from Permissions::isPermissionGranted

This change modifies the following methods:

- Permissions::isPermissionGranted*[AsUser]
- Permissions::setPermissionGranted*[AsUser]
- Permissions::grantPermission*[AsUser]

...by making them multi-user aware. I.e., lift any references to
Process.myUserHandle() out of them into method arguments.

Bug: 302563690
Test: atest CtsRoleTestCases
Change-Id: I9df29d403f60616cce51087c6cd33ad7111aeb6f
parent 7e281a0d
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