Allow system_app to interact with Dumpstate HAL
To let end user enable/disable the verbose vender logging, a developer option is added into Settings app which need directly interact with Dumpstate HAL. In the future, the same function may be added into SystemUI, eg. as a QuickSettings tile. To allow both Settings app and system.ui, system_app is the best candidate for the sepolicy change. Bug: 148822215 Test: make && make RunSettingsRoboTests Change-Id: Ic6ef497505719e07cc37518b78c9dc146cda2d2c
This commit is contained in:
parent
a3b19be219
commit
8950e7a25b
@ -78,6 +78,9 @@ binder_call(system_app, incidentd)
|
||||
# Allow system apps to interact with gpuservice
|
||||
binder_call(system_app, gpuservice)
|
||||
|
||||
# Allow system app to interact with Dumpstate HAL
|
||||
hal_client_domain(system_app, hal_dumpstate)
|
||||
|
||||
allow system_app servicemanager:service_manager list;
|
||||
# TODO: scope this down? Too broad?
|
||||
allow system_app {
|
||||
|
Loading…
Reference in New Issue
Block a user