SEPolicy changes for radio hal.
Test: none
Bug: 32020264
Change-Id: If5f22dad672895b3684b8e44209c5a1eae16ba47
diff --git a/public/radio.te b/public/radio.te
index 591c3bc..b2a878e 100644
--- a/public/radio.te
+++ b/public/radio.te
@@ -36,3 +36,7 @@
allow radio surfaceflinger_service:service_manager find;
allow radio app_api_service:service_manager find;
allow radio system_api_service:service_manager find;
+
+# Allow access to hwservicemanager for binderized hal
+binder_call(radio, hwservicemanager)
+binder_call(radio, rild)
\ No newline at end of file
diff --git a/public/rild.te b/public/rild.te
index bc6d629..6871182 100644
--- a/public/rild.te
+++ b/public/rild.te
@@ -50,3 +50,7 @@
# granting the ioctl permission for rild should be device specific
allow rild self:socket create_socket_perms_no_ioctl;
+
+# Allow access to hwservicemanager for binderized hal
+binder_call(rild, hwservicemanager)
+binder_call(rild, radio)