thermal: move thermal selinux policy to Pixel-wide common
Bug: 146390555
Test: No avc denied and thermal_logd can print when thermal-hal ativates
Change-Id: I974d67866d48aad40ce5bed2715fd0e8f078c61f
diff --git a/thermal/file_contexts b/thermal/file_contexts
new file mode 100644
index 0000000..e88d6f5
--- /dev/null
+++ b/thermal/file_contexts
@@ -0,0 +1,2 @@
+/vendor/bin/hw/android\.hardware\.thermal@2\.0-service\.pixel u:object_r:hal_thermal_default_exec:s0
+/vendor/bin/thermal_logd u:object_r:init-thermal-logging-sh_exec:s0