thermal: Add permission for trigger_sensor sysfs am: 8b8d1c611f am: acfa7b761a

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/21791217

Change-Id: Ic36038c25711ab6ff26db04b0073275517d24d4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
sashwinbalaji 2023-03-07 03:55:32 +00:00 committed by Automerger Merge Worker
commit 0c6dc5a9c1

View file

@ -111,6 +111,10 @@ on init && property:ro.bootmode=charger
on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/tz-by-name/charger_skin_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/charger_skin_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/disp_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/disp_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/neutral_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/neutral_therm/trip_point_0_hyst
# Override SF and RE uclamps to 0 on boot after being set elsewhere, for adpf cpu hints
on property:sys.boot_completed=1