Add sepolicy for default Context Hub HAL access to stats service
Bug: 254328944 Test: Verify no selinux error through logcat Change-Id: Iebc7e6c42a99d091dd1afcc5ff0204bd6f3c71e7
This commit is contained in:
parent
5cbe30c386
commit
ca5474c5cf
1 changed files with 4 additions and 0 deletions
4
vendor/hal_contexthub_default.te
vendored
4
vendor/hal_contexthub_default.te
vendored
|
@ -3,3 +3,7 @@ hal_server_domain(hal_contexthub_default, hal_contexthub)
|
||||||
|
|
||||||
type hal_contexthub_default_exec, exec_type, vendor_file_type, file_type;
|
type hal_contexthub_default_exec, exec_type, vendor_file_type, file_type;
|
||||||
init_daemon_domain(hal_contexthub_default)
|
init_daemon_domain(hal_contexthub_default)
|
||||||
|
|
||||||
|
# Allow Context Hub HAL to talk to the stats service for metric collection
|
||||||
|
allow hal_contexthub_default fwk_stats_service:service_manager find;
|
||||||
|
binder_call(hal_contexthub_default, stats_service_server)
|
||||||
|
|
Loading…
Reference in a new issue