[go: nahoru, domu]

hal_health_default: updated sepolicy

This allows the hal_health_default to access AIDL Stats service

Bug: 181351177
Test: Build, flash, boot & and logcat | grep "hal_health_default"
Change-Id: Ib9373f365e9676fe499c3c09858ca129de117828
diff --git a/vendor/google/hal_health_default.te b/vendor/google/hal_health_default.te
index 4aa8d4e..2fb538f 100644
--- a/vendor/google/hal_health_default.te
+++ b/vendor/google/hal_health_default.te
@@ -10,6 +10,8 @@
 allow hal_health_default pixelstats_system:binder call;
 allow hal_health_default fwk_stats_hwservice:hwservice_manager find;
 binder_call(hal_health_default, statsd)
+allow hal_health_default fwk_stats_service:service_manager find;
+binder_use(hal_health_default)
 allow hal_health_default persist_file:dir search;
 allow hal_health_default persist_battery_file:file create_file_perms;
 allow hal_health_default persist_battery_file:dir rw_dir_perms;