android_device_motorola_sm6.../sepolicy/vendor/thermal-engine.te
EcrosoftXiao e03aec7112
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
2024-07-19 20:16:00 +05:30

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)