[Ranging] Add ranging service to sepolicy
Bug: 364930449
Test: Compiles
Change-Id: I400dfa08f417161388ebf386c59a331ac905a51f
diff --git a/private/compat/202404/202404.ignore.cil b/private/compat/202404/202404.ignore.cil
index 2b3adc0..fbb8b70 100644
--- a/private/compat/202404/202404.ignore.cil
+++ b/private/compat/202404/202404.ignore.cil
@@ -13,6 +13,7 @@
binderfs_logs_transaction_history
proc_compaction_proactiveness
proc_cgroups
+ ranging_service
supervision_service
sysfs_udc
app_function_service
diff --git a/private/service_contexts b/private/service_contexts
index 78d2c5a..2e167ac 100644
--- a/private/service_contexts
+++ b/private/service_contexts
@@ -381,6 +381,9 @@
radio.phonesubinfo u:object_r:radio_service:s0
radio.phone u:object_r:radio_service:s0
radio.sms u:object_r:radio_service:s0
+is_flag_enabled(RELEASE_RANGING_STACK, `
+ ranging u:object_r:ranging_service:s0
+')
rcs u:object_r:radio_service:s0
reboot_readiness u:object_r:reboot_readiness_service:s0
recovery u:object_r:recovery_service:s0