Skip to content
Commit 630c1f43 authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan
Browse files

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

This change modifies the following (private) methods:

- Permissions::getPermissionFlags[AsUser]
- Permissions::isPermissionFixed[AsUser]
- Permissions::isPermissionGrantedByDefault[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: Ib80da2bdedfc3e019fa786276c183d9060b6b737
parent 8a5bcb32
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