diff --git a/private/compat/32.0/32.0.ignore.cil b/private/compat/32.0/32.0.ignore.cil index 4dfb30432..5bd2e7602 100644 --- a/private/compat/32.0/32.0.ignore.cil +++ b/private/compat/32.0/32.0.ignore.cil @@ -22,6 +22,7 @@ hal_dumpstate_service hal_graphics_composer_service hal_health_service + hal_ir_service hal_nlinterceptor_service hal_radio_config_service hal_radio_data_service diff --git a/private/service_contexts b/private/service_contexts index 11e042300..27d6b35d3 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -10,6 +10,7 @@ android.hardware.graphics.composer3.IComposer/default u:object_r: android.hardware.health.storage.IStorage/default u:object_r:hal_health_storage_service:s0 android.hardware.health.IHealth/default u:object_r:hal_health_service:s0 android.hardware.identity.IIdentityCredentialStore/default u:object_r:hal_identity_service:s0 +android.hardware.ir.IConsumerIr/default u:object_r:hal_ir_service:s0 android.hardware.light.ILights/default u:object_r:hal_light_service:s0 android.hardware.memtrack.IMemtrack/default u:object_r:hal_memtrack_service:s0 android.hardware.net.nlinterceptor.IInterceptor/default u:object_r:hal_nlinterceptor_service:s0 diff --git a/public/hal_ir.te b/public/hal_ir.te index 29555f74c..452127a34 100644 --- a/public/hal_ir.te +++ b/public/hal_ir.te @@ -2,4 +2,7 @@ binder_call(hal_ir_client, hal_ir_server) binder_call(hal_ir_server, hal_ir_client) +hal_attribute_service(hal_ir, hal_ir_service) +binder_call(hal_ir_server, servicemanager) + hal_attribute_hwservice(hal_ir, hal_ir_hwservice) diff --git a/public/service.te b/public/service.te index 15ba226e6..8be2eea4f 100644 --- a/public/service.te +++ b/public/service.te @@ -271,6 +271,7 @@ type hal_graphics_composer_service, vendor_service, protected_service, service_m type hal_health_service, vendor_service, protected_service, service_manager_type; type hal_health_storage_service, vendor_service, protected_service, service_manager_type; type hal_identity_service, vendor_service, protected_service, service_manager_type; +type hal_ir_service, vendor_service, protected_service, service_manager_type; type hal_keymint_service, vendor_service, protected_service, service_manager_type; type hal_light_service, vendor_service, protected_service, service_manager_type; type hal_memtrack_service, vendor_service, protected_service, service_manager_type; diff --git a/vendor/file_contexts b/vendor/file_contexts index 446f19afa..4fc0460ac 100644 --- a/vendor/file_contexts +++ b/vendor/file_contexts @@ -52,6 +52,7 @@ /(vendor|system/vendor)/bin/hw/android\.hardware\.identity-service.example u:object_r:hal_identity_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.input\.classifier@1\.0-service u:object_r:hal_input_classifier_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service u:object_r:hal_ir_default_exec:s0 +/(vendor|system/vendor)/bin/hw/android\.hardware\.ir-service\.example u:object_r:hal_ir_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@3\.0-service u:object_r:hal_keymaster_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.0-service u:object_r:hal_keymaster_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.1-service u:object_r:hal_keymaster_default_exec:s0