summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-11-19 00:01:35 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-11-19 00:01:35 +0000
commit206fbb490af0c39086d5da223d997b7fdc84d9bf (patch)
tree955548742ced341b1940524e52ca38d08db2d197
parent0a83d01cc92bd38e4815db7ed8f894abdf923856 (diff)
parentd85b8513e45a0d5926146536b7ba44a13831fdac (diff)
downloadcrosshatch-sepolicy-android12L-platform-release.tar.gz
Change-Id: Id7b208b53a810c2757d895eb4a886d2e64543c24
-rw-r--r--vendor/google/modem_diagnostics.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/google/modem_diagnostics.te b/vendor/google/modem_diagnostics.te
index 5161102..97f8586 100644
--- a/vendor/google/modem_diagnostics.te
+++ b/vendor/google/modem_diagnostics.te
@@ -20,4 +20,7 @@ userdebug_or_eng(`
set_prop(modem_diagnostic_app, vendor_modem_diag_prop)
set_prop(modem_diagnostic_app, radio_control_prop)
+
+ allow modem_diagnostic_app sysfs_batteryinfo:file r_file_perms;
+ allow modem_diagnostic_app sysfs_batteryinfo:dir search;
')