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

[Role Logic Move] Lift user from isPermissionAndAppOp

This change modifies the following methods:

- Permissions::isPermissionAndAppOpGranted[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: I671f665bcba4982dbbeb53a0218e2f7fe972f8a6
parent bfe50ec7
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