* QTI Thermal couldn't read the temperature for some reason * sepolicy: Adjust sepolicy for thermal Change-Id: Idea1bcdea070913ef35b699fafd1242d740453a9
7 lines
376 B
Text
7 lines
376 B
Text
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)
|