diff --git a/private/platform_app.te b/private/platform_app.te index 4d937bedf5dc44bba0c59ef010ff4907a935a6c5..884c4364ba385f44fefcf819b68e9a2feee5cec2 100644 --- a/private/platform_app.te +++ b/private/platform_app.te @@ -54,6 +54,7 @@ allow platform_app mediadrmserver_service:service_manager find; allow platform_app persistent_data_block_service:service_manager find; allow platform_app radio_service:service_manager find; allow platform_app surfaceflinger_service:service_manager find; +allow platform_app thermal_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/public/thermalserviced.te b/public/thermalserviced.te index 5b6025cea8ae75b42fa9a04d693969bb6ef4e5f1..00e00713208aa0af32113da145fec849f04c6d82 100644 --- a/public/thermalserviced.te +++ b/public/thermalserviced.te @@ -9,3 +9,5 @@ add_service(thermalserviced, thermal_service) hwbinder_use(thermalserviced) hal_client_domain(thermalserviced, hal_thermal) add_hwservice(thermalserviced, thermalcallback_hwservice) + +binder_call(thermalserviced, platform_app)