Merge "Move ranging_service se policy from public to private" into main
diff --git a/private/service.te b/private/service.te
index dde4bd2..a90b3ba 100644
--- a/private/service.te
+++ b/private/service.te
@@ -64,6 +64,10 @@
type wifi_mainline_supplicant_service, service_manager_type;
type dynamic_instrumentation_service, app_api_service, system_server_service, service_manager_type;
+is_flag_enabled(RELEASE_RANGING_STACK, `
+ type ranging_service, app_api_service, system_server_service, service_manager_type;
+')
+
###
### Neverallow rules
###
diff --git a/public/service.te b/public/service.te
index 312c592..68f4ea0 100644
--- a/public/service.te
+++ b/public/service.te
@@ -217,9 +217,6 @@
type print_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type processinfo_service, system_server_service, service_manager_type;
type procstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
-is_flag_enabled(RELEASE_RANGING_STACK, `
- type ranging_service, app_api_service, system_server_service, service_manager_type;
-')
type reboot_readiness_service, app_api_service, system_server_service, service_manager_type;
type recovery_service, system_server_service, service_manager_type;
type registry_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;