citadeld: updates sepolicies to access the IStats HIDL service
The IStats HIDL service is still in use in rvc-qpr-dev-plus-aosp branch
Since the sepolicy located at AOSP is shared betweed sc-dev and
other branches - need to keep allow rules for the AIDL & HIDL version
Bug: 185607559
Test: Build, flash, and logcat for sepolicies messages
Change-Id: I5437178feff7efdab25423ec7e63a8d8e9312c29
diff --git a/citadel/citadeld.te b/citadel/citadeld.te
index 92e20a6..9490258 100644
--- a/citadel/citadeld.te
+++ b/citadel/citadeld.te
@@ -14,6 +14,7 @@
# Let citadeld find and use statsd.
hwbinder_use(citadeld)
get_prop(citadeld, hwservicemanager_prop)
+allow citadeld fwk_stats_hwservice:hwservice_manager find;
binder_call(citadeld, stats_service_server)
allow citadeld fwk_stats_service:service_manager find;
binder_use(citadeld)