thermal: provide chg_mdis permission for thermalHAL

Bug: 226130317
Test: ls -al dev/thermal/cdev-by-name/chg_mdis/cur_state
Change-Id: Id0681d66f33f94baed52f67aea63270a6875ac14
This commit is contained in:
TeYuan Wang 2022-03-30 21:56:08 +08:00 committed by Kame(TeYuan) Wang
parent 2db72b9aee
commit 5c95b36ea8

View file

@ -923,6 +923,7 @@ on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/cdev-by-name/fcc/cur_state chown system system /dev/thermal/cdev-by-name/fcc/cur_state
chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state
chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state
chown system system /dev/thermal/cdev-by-name/chg_mdis/cur_state
on property:vendor.disable.bcl.control=1 on property:vendor.disable.bcl.control=1
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0 write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0