vibrator: allow servicemanager access to hal_vibrator_default am: 79f87c6207

Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel-sepolicy/+/2442099

Change-Id: I89972d6a2ccec545f0de5df094426486c9141720
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/vibrator/cs40l25/hal_vibrator_default.te b/vibrator/cs40l25/hal_vibrator_default.te
index 2dd1c65..81c2f3f 100644
--- a/vibrator/cs40l25/hal_vibrator_default.te
+++ b/vibrator/cs40l25/hal_vibrator_default.te
@@ -17,4 +17,5 @@
 vndbinder_use(hal_vibrator_default);
 
 # Allow Vibrator HAL to communicate with stats service
-allow hal_vibrator_default fwk_stats_service:service_manager find;
\ No newline at end of file
+allow hal_vibrator_default fwk_stats_service:service_manager find;
+binder_use(hal_vibrator_default)
diff --git a/vibrator/cs40l26/hal_vibrator_default.te b/vibrator/cs40l26/hal_vibrator_default.te
index 478bee9..4fafe8a 100644
--- a/vibrator/cs40l26/hal_vibrator_default.te
+++ b/vibrator/cs40l26/hal_vibrator_default.te
@@ -17,3 +17,7 @@
 
 # Allow vibrator HAL's default implementation to use vendor-binder service
 vndbinder_use(hal_vibrator_default);
+
+# Allow Vibrator HAL to communicate with stats service
+allow hal_vibrator_default fwk_stats_service:service_manager find;
+binder_use(hal_vibrator_default)