Fix off-mode (charger) sepolicy for the health interface

Bug: 223537397
Test: Ensure that there are no selinux errors for sysfs_batteryinfo in
   off-mode charging

Change-Id: I46fa1b7552eb0655d0545538142131465a337f23
This commit is contained in:
Stephane Lee 2022-03-21 17:42:10 -07:00
parent 64c22491ca
commit 117be90229

View file

@ -1,4 +1,5 @@
allow charger_vendor mnt_vendor_file:dir search;
allow charger_vendor sysfs_batteryinfo:file w_file_perms;
allow charger_vendor persist_file:dir search;
allow charger_vendor persist_battery_file:dir search;
allow charger_vendor persist_battery_file:file rw_file_perms;