thermal: Add permission for trigger_sensor sysfs
Add system permission to set trip temp and hyst for trigger_sensors: - disp_therm - neutral_therm Bug: 271798106 Test: Push file and verify logcat Change-Id: I241084208394a94b8a03622ca7d4508c810f3904
This commit is contained in:
parent
a6f9e74a89
commit
8b8d1c611f
1 changed files with 4 additions and 0 deletions
|
@ -108,6 +108,10 @@ on post-fs-data
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue