Skip to content
Commit 50cc7bb9 authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan
Browse files

[Role Logic Move] Lift user from grantSingle

This change modifies the following methods:

- Permissions::grantPermissionAndAppOp[AsUser]
- Permissions::revokePermissionAndAppOp[AsUser]
- Permissions::grantSingle[AsUser]
- Permissions::revokeSingle[AsUser]

...by making them multi-user aware. I.e., lift any references to
Process.myUserHandle() out of them into method arguments. Also,
modify all callers to use a single "UserHandle user" variable.

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