From ee92ac374a9892f7001623483484ab0940237c4d Mon Sep 17 00:00:00 2001 From: George Lee Date: Wed, 25 May 2022 14:40:33 -0700 Subject: [PATCH] dumpstate: Mitigation logger readout - sepolicy Mitigation Logger logs battery related information for 1 second when it is triggered by under voltage or over current interrupts. Information collected is to help debug system brownout. This change is to enable bugreport reading out the mitigation log. Bug: 228383769 Test: Boot and Test Signed-off-by: George Lee Change-Id: Ic0291e05bcf20839a66d50d159bb5ef41681c45d --- whitechapel_pro/hal_dumpstate_default.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/whitechapel_pro/hal_dumpstate_default.te b/whitechapel_pro/hal_dumpstate_default.te index de49f46c..d5bc6799 100644 --- a/whitechapel_pro/hal_dumpstate_default.te +++ b/whitechapel_pro/hal_dumpstate_default.te @@ -34,6 +34,9 @@ allow hal_dumpstate_default sysfs_thermal:file r_file_perms; allow hal_dumpstate_default sysfs_bcl:dir r_dir_perms; allow hal_dumpstate_default sysfs_bcl:file r_file_perms; +allow hal_dumpstate_default mitigation_vendor_data_file:dir r_dir_perms; +allow hal_dumpstate_default mitigation_vendor_data_file:file r_file_perms; + allow hal_dumpstate_default sysfs_wifi:dir r_dir_perms; allow hal_dumpstate_default sysfs_wifi:file r_file_perms;