thermal: enable pixelstats access to thermal metrics

Allow pixelstats daemon to access thermal metric nodes

Bug: 228247740
Test: Build and boot on device. Check thermal stats
Change-Id: Iada717b92782bc9c085928462b2e06d2db136cab
Signed-off-by: Sayanna Chandula <sayanna@google.com>
This commit is contained in:
Sayanna Chandula 2022-08-22 16:15:13 -07:00
parent 5acc68de3b
commit cbb62de10c

View file

@ -22,3 +22,7 @@ get_prop(pixelstats_vendor, smart_idle_maint_enabled_prop);
# Pca charge
allow pixelstats_vendor sysfs_pca:file rw_file_perms;
#Thermal
r_dir_file(pixelstats_vendor, sysfs_thermal)
allow pixelstats_vendor sysfs_thermal:lnk_file r_file_perms;