Split composd's service in two
They are served by the same process but have different clients:
- the main interface is exposed to system server;
- the internal interface is called by odrefresh when spawned by composd.
Test: compos_cmd forced-compile-test
Bug: 199147668
Change-Id: Ie1561b7700cf633d7d5c8df68ff58797a8d8bced
diff --git a/private/composd.te b/private/composd.te
index 5edea69..30e26f9 100644
--- a/private/composd.te
+++ b/private/composd.te
@@ -1,10 +1,11 @@
type composd, domain, coredomain;
type composd_exec, system_file_type, exec_type, file_type;
-# Host a dynamic AIDL service
+# Host dynamic AIDL services
init_daemon_domain(composd)
binder_use(composd)
add_service(composd, compos_service)
+add_service(composd, compos_internal_service)
# Call back into system server
binder_call(composd, system_server)