Merge "Add imms service and system_app_service type."
diff --git a/service.te b/service.te
index c085c79..ca461f1 100644
--- a/service.te
+++ b/service.te
@@ -8,4 +8,5 @@
 type nfc_service,               service_manager_type;
 type radio_service,             service_manager_type;
 type surfaceflinger_service,    service_manager_type;
+type system_app_service,        service_manager_type;
 type system_server_service,     service_manager_type;
diff --git a/service_contexts b/service_contexts
index 843d6ac..0f4212b 100644
--- a/service_contexts
+++ b/service_contexts
@@ -46,6 +46,7 @@
 iphonesubinfo2                            u:object_r:radio_service:s0
 iphonesubinfo                             u:object_r:radio_service:s0
 ims                                       u:object_r:radio_service:s0
+imms                                      u:object_r:system_app_service:s0
 isms_msim                                 u:object_r:radio_service:s0
 isms2                                     u:object_r:radio_service:s0
 isms                                      u:object_r:radio_service:s0
diff --git a/system_app.te b/system_app.te
index 324d74e..bada905 100644
--- a/system_app.te
+++ b/system_app.te
@@ -42,6 +42,8 @@
 allow system_app anr_data_file:dir ra_dir_perms;
 allow system_app anr_data_file:file create_file_perms;
 
+allow system_app system_app_service:service_manager add;
+
 allow system_app keystore:keystore_key {
 	test
 	get