From 0e115d4d15a7981ba715792b8a35d5c99d3c4f39 Mon Sep 17 00:00:00 2001 From: Roy Luo Date: Wed, 7 Feb 2024 05:19:37 +0000 Subject: [PATCH] hal_usb_impl: Grant read permission to usb overheat files Carried over from WHI PRO setting. Bug: 307583011 Test: no audit logs Change-Id: Icdcf36ee739f009a1e87ecd346b6178d096079b9 --- vendor/hal_usb_impl.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/hal_usb_impl.te b/vendor/hal_usb_impl.te index 4ab9fbc..99644e8 100644 --- a/vendor/hal_usb_impl.te +++ b/vendor/hal_usb_impl.te @@ -18,3 +18,6 @@ hal_client_domain(hal_usb_impl, hal_thermal); # Needed for reporting Usb Overheat suez event through statsd allow hal_usb_impl fwk_stats_service:service_manager find; + +# For reading the usb-c throttling stats +allow hal_usb_impl sysfs_usbc_throttling_stats:file r_file_perms;