Backport public type to 202504
* hal_hwcrypto_service
Steps taken to re-finalize:
1. Temporarily reset BOARD_API_LEVEL of fina_0 to 202504
2. Revert 202504 APIs
* Remove system/sepolicy/prebuilts/api/202504
* Reset FREEZE_TEST_BOARD_API_LEVEL to 202504
3. Run the finalization script
4. Remove system/sepolicy/prebuilts/api/202504/private/compat/202504
5. Manually added hal_hwcrypto_service to
system/sepolicy/private/compat/202404/202404.ignore.cil
Ignore-AOSP-First: VINTF finalization
Bug: 396240580
Test: build aosp_arm64-next-userdebug
Test: build aosp_arm64-trunk_staging-userdebug
Change-Id: Ia6561244ef3dce34a273a2233b63176c0dcf19ad
diff --git a/private/service.te b/private/service.te
index 3b84e93..96f208d 100644
--- a/private/service.te
+++ b/private/service.te
@@ -37,7 +37,9 @@
until_board_api(202504, `
type hal_mediaquality_service, protected_service, hal_service_type, service_manager_type;
')
-
+until_board_api(202504, `
+ type hal_hwcrypto_service, protected_service, hal_service_type, service_manager_type;
+')
is_flag_enabled(RELEASE_SUPERVISION_SERVICE, `
type supervision_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
')