Skip to content
Commit 7e281a0d authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan
Browse files

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

This change modifies the following methods:

- Permissions::setPermissionFlags[AsUser]
- Permissions::setPermissionGrantedByRole[AsUser]

...by making them multi-user aware. I.e., lift any references to
Process.myUserHandle() out of them into method arguments, and call
user-dependent APIs with a user context.

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