commit | c2039ee4a5eb2d3e61eb46052eb03102ac618890 | [log] [tgz] |
---|---|---|
author | jintinglin <[email protected]> | Tue Nov 09 09:24:36 2021 +0000 |
committer | Jinting Lin <[email protected]> | Mon Nov 15 07:57:49 2021 +0000 |
tree | e6c50f96c68b2e05e828ef6a5863e34a866c5ed1 | |
parent | 6ce452ee13757c7ac373384a8e1656b06fdfe804 [diff] |
modem_diagnostics: add rules for getting battery info Original change: https://android-review.googlesource.com/c/device/google/bonito-sepolicy/+/1880670 Bug: 204961005 Merged-In: I0f8e02ba592f6a5048575d8aad6024ecacb70b2c Change-Id: I0f8e02ba592f6a5048575d8aad6024ecacb70b2c (cherry picked from commit 6c7f6b054d208a6637513ad6c44ac9b797ef3bb4)
diff --git a/vendor/google/modem_diagnostics.te b/vendor/google/modem_diagnostics.te index d506496..1805ac1 100644 --- a/vendor/google/modem_diagnostics.te +++ b/vendor/google/modem_diagnostics.te
@@ -20,4 +20,7 @@ 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; ')