selinux changes to add time detector service
This commit contains the changes needed to add the new
time detector system server service.
Bug: 78217059
Test: make / booted device
Change-Id: I7cfaac6cac876e4aa73e8af1aa5f837117bb9ad7
diff --git a/private/compat/26.0/26.0.ignore.cil b/private/compat/26.0/26.0.ignore.cil
index b678221..0e23d27 100644
--- a/private/compat/26.0/26.0.ignore.cil
+++ b/private/compat/26.0/26.0.ignore.cil
@@ -117,6 +117,7 @@
thermalserviced
thermalserviced_exec
thermalserviced_tmpfs
+ timedetector_service
timezone_service
tombstoned_java_trace_socket
tombstone_wifi_data_file
diff --git a/private/compat/27.0/27.0.ignore.cil b/private/compat/27.0/27.0.ignore.cil
index 06f85fc..ee55901 100644
--- a/private/compat/27.0/27.0.ignore.cil
+++ b/private/compat/27.0/27.0.ignore.cil
@@ -94,6 +94,7 @@
system_boot_reason_prop
system_update_service
test_boot_reason_prop
+ timedetector_service
tombstone_wifi_data_file
trace_data_file
traced
diff --git a/private/platform_app.te b/private/platform_app.te
index eec503a..41dc915 100644
--- a/private/platform_app.te
+++ b/private/platform_app.te
@@ -66,6 +66,7 @@
allow platform_app persistent_data_block_service:service_manager find;
allow platform_app radio_service:service_manager find;
allow platform_app thermal_service:service_manager find;
+allow platform_app timedetector_service:service_manager find;
allow platform_app timezone_service:service_manager find;
allow platform_app app_api_service:service_manager find;
allow platform_app system_api_service:service_manager find;
diff --git a/private/service_contexts b/private/service_contexts
index 8b9b862..efd9739 100644
--- a/private/service_contexts
+++ b/private/service_contexts
@@ -162,6 +162,7 @@
telephony.registry u:object_r:registry_service:s0
textclassification u:object_r:textclassification_service:s0
textservices u:object_r:textservices_service:s0
+time_detector u:object_r:timedetector_service:s0
timezone u:object_r:timezone_service:s0
thermalservice u:object_r:thermal_service:s0
trust u:object_r:trust_service:s0