Allow power-libperfmgr to write thermal properties am: 05e213f564 am: 711bb6c1ef am: 59d67f02b7

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/pixel-sepolicy/+/23816799

Change-Id: I482fb1d936b9dc1a2e142ee0be45527f542baf90
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/power-libperfmgr/hal_power_default.te b/power-libperfmgr/hal_power_default.te
index b4d4f65..8d6a9fe 100644
--- a/power-libperfmgr/hal_power_default.te
+++ b/power-libperfmgr/hal_power_default.te
@@ -28,11 +28,12 @@
 allow hal_power_default proc_vendor_sched:dir r_dir_perms;
 allow hal_power_default proc_vendor_sched:file r_file_perms;
 
-# Allow read/write thermal sysfs
+# Allow read/write thermal sysfs and property
 allow hal_power_default thermal_link_device:dir r_dir_perms;
 allow hal_power_default sysfs_thermal:dir r_dir_perms;
 allow hal_power_default sysfs_thermal:file rw_file_perms;
 allow hal_power_default sysfs_thermal:lnk_file r_file_perms;
+set_prop(hal_power_default, vendor_thermal_prop)
 
 userdebug_or_eng(`
 # Allow reading /data/vendor/* for debugging
OSZAR »