Merge "Add sepolicy for default Context Hub HAL access to stats service" am: 3002f1afe2

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2260773

Change-Id: I2eee571031f0e8277de66056f779fe9b023e48f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Arthur Ishiguro 2022-10-20 17:05:51 +00:00 committed by Automerger Merge Worker
commit cd563757f9

View file

@ -3,3 +3,7 @@ hal_server_domain(hal_contexthub_default, hal_contexthub)
type hal_contexthub_default_exec, exec_type, vendor_file_type, file_type;
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)