diff options
author | jintinglin <jintinglin@google.com> | 2021-11-05 13:08:24 +0800 |
---|---|---|
committer | jintinglin <jintinglin@google.com> | 2021-11-05 13:11:56 +0800 |
commit | 25bf6fd54115a9ea8f81258fc59f7fbc3d4dbf6f (patch) | |
tree | c2f8c2fe5b53b6a5a71bea563f02ad5a3f508503 | |
parent | 37ae749c20a8027e2c6042044180eb1bdbc5c4f2 (diff) | |
download | bonito-sepolicy-25bf6fd54115a9ea8f81258fc59f7fbc3d4dbf6f.tar.gz |
modem_diagnostics: add rules for getting battery info
Bug: 204961005
Change-Id: I5bf175e3de88699d38cd69b3ef423bdf8b7478cd
-rw-r--r-- | vendor/google/modem_diagnostics.te | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/google/modem_diagnostics.te b/vendor/google/modem_diagnostics.te index d5064964..1805ac10 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; ') |