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

[Role Logic Move] Shim RoleControllerServiceImpl

This implements the ability to toggle between running
RoleControllerServiceImpl (and therefore the majority of the Role
Business Logic) in either System Server or PermissionController,
depending on whether the "roleControllerInSystemServer" flag is set.

New classes/interfaces:

- RoleControllerLocal: Runs logic directly in System Server
- RoleControllerRemote: Calls PermissionController to run logic
- RoleController: Interface to allow us to toggle between the above two

Also, RoleControllerServiceImpl is moved to role-controller, and given a
shim constructor, so that it can be directly invoked from RoleService.

Bug: 302563971
Test: atest CtsRoleTestCases
Change-Id: Ifc024398a7fc558d33ff66d890fa67096c1a79e4
parent 137f496a
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