sm6375-common: Switch to Thermal 2.0 mock
* QTI Thermal couldn't read the temperature for some reason * sepolicy: Adjust sepolicy for thermal Change-Id: Idea1bcdea070913ef35b699fafd1242d740453a9
This commit is contained in:
parent
751c572071
commit
e03aec7112
7 changed files with 23 additions and 5 deletions
7
sepolicy/vendor/thermal-engine.te
vendored
Normal file
7
sepolicy/vendor/thermal-engine.te
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
allow vendor_thermal-engine { proc_stat proc_loadavg }:file r_file_perms;
|
||||
allow vendor_thermal-engine vendor_thermal_device:chr_file rw_file_perms;
|
||||
rw_dir_file(vendor_thermal-engine, vendor_sysfs_battery_supply)
|
||||
rw_dir_file(vendor_thermal-engine, vendor_sysfs_usb_supply)
|
||||
|
||||
set_prop(vendor_thermal-engine, vendor_thermal_prop);
|
||||
r_dir_file(vendor_thermal-engine, sysfs_thermal)
|
||||
Loading…
Add table
Add a link
Reference in a new issue