Allow car service to `find` car_service :) am: 9b51d367f5 am: bdd92fe70d
am: 1d7118d19c
Change-Id: Ia891c594de1776f7e0abe32b2889ab80e0147019
diff --git a/car_product/sepolicy/private/carservice_app.te b/car_product/sepolicy/private/carservice_app.te
index 4f8315a..817aa5d 100644
--- a/car_product/sepolicy/private/carservice_app.te
+++ b/car_product/sepolicy/private/carservice_app.te
@@ -9,8 +9,8 @@
# Allow to set boot.car_service_created property
set_prop(carservice_app, system_prop)
-# Allow Car Service to register itself with ServiceManager
-allow carservice_app carservice_service:service_manager add;
+# Allow Car Service to register/access itself with ServiceManager
+add_service(carservice_app, carservice_service)
allow carservice_app wifi_service:service_manager find;