PowerUI access to thermalservice am: bbc692c6d9 am: 69b7f7eca2
am: aca0623f07
Change-Id: I3b2885863ab88820b1a74d390b68a8a2ae5d148f
diff --git a/private/platform_app.te b/private/platform_app.te
index 4d937be..884c436 100644
--- a/private/platform_app.te
+++ b/private/platform_app.te
@@ -54,6 +54,7 @@
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 5b6025c..00e0071 100644
--- a/public/thermalserviced.te
+++ b/public/thermalserviced.te
@@ -9,3 +9,5 @@
hwbinder_use(thermalserviced)
hal_client_domain(thermalserviced, hal_thermal)
add_hwservice(thermalserviced, thermalcallback_hwservice)
+
+binder_call(thermalserviced, platform_app)