From 5c48a9028512d067de0b4add8ce30f27a7a9203a Mon Sep 17 00:00:00 2001 From: George Lee Date: Thu, 13 Oct 2022 18:43:09 -0700 Subject: [PATCH] pixelstats: add bcl directory permission Bug: 253522156 Test: Local test $>cmd stats print-logs $>logcat | grep Signed-off-by: George Lee Change-Id: I934f6efb043893666dac88257619556e30d82751 --- whitechapel_pro/pixelstats_vendor.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/whitechapel_pro/pixelstats_vendor.te b/whitechapel_pro/pixelstats_vendor.te index 371bef41..d327a30d 100644 --- a/whitechapel_pro/pixelstats_vendor.te +++ b/whitechapel_pro/pixelstats_vendor.te @@ -26,3 +26,7 @@ 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; + +# BCL +allow pixelstats_vendor sysfs_bcl:dir search; +allow pixelstats_vendor sysfs_bcl:file r_file_perms;