From 5aa340abc2d849d745472e8e5e518c91c6c801b8 Mon Sep 17 00:00:00 2001 From: Vova Sharaienko Date: Wed, 25 May 2022 16:59:30 +0000 Subject: [PATCH] hal_vehicle_default: enabled communication with statsd Bug: 233754988 Test: build & boot, logcat | grep SELinux Change-Id: I92ca95e0088550677baab64fcc36afdc8845e2fc --- vendor/hal_vehicle_default.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vendor/hal_vehicle_default.te b/vendor/hal_vehicle_default.te index 52769dd03..8adf8d33a 100644 --- a/vendor/hal_vehicle_default.te +++ b/vendor/hal_vehicle_default.te @@ -11,3 +11,8 @@ hal_client_domain(hal_vehicle_default, hal_can_bus) # communicate with servicemanager binder_call(hal_vehicle_server, servicemanager) + +# communicate with statsd +hwbinder_use(hal_vehicle_default) +allow hal_vehicle_default fwk_stats_hwservice:hwservice_manager find; +binder_call(hal_vehicle_default, stats_service_server)