Allow modem app to read the battery info

Test: flash the forrest build, MDS can read the info file

Bug: 203478533

Change-Id: I9985dd2731a43445dd653e226fd2939ca355cda4
This commit is contained in:
jintinglin 2021-09-22 12:51:52 +08:00 committed by Jinting Lin
parent f545ab60c3
commit 936079ad1c

View file

@ -29,4 +29,7 @@ userdebug_or_eng(`
allow modem_diagnostic_app modem_img_file:lnk_file r_file_perms;
allow modem_diagnostic_app hal_vendor_oem_hwservice:hwservice_manager find;
allow modem_diagnostic_app sysfs_batteryinfo:file r_file_perms;
allow modem_diagnostic_app sysfs_batteryinfo:dir search;
')