msm8953-common: sepolicy: Add sepolicy for battery health
Change-Id: I2092c760a81328ec4c93b4b47520213b65f0fa6e
This commit is contained in:
3
sepolicy/vendor/system_app.te
vendored
3
sepolicy/vendor/system_app.te
vendored
@@ -2,5 +2,8 @@ allow system_app sysfs_homebutton:file write;
|
||||
allow system_app sysfs_homebutton:dir search;
|
||||
allow system_app sysfs_homebutton:file { getattr open };
|
||||
|
||||
# Battery Health
|
||||
r_dir_file(system_app, sysfs_battery_supply);
|
||||
|
||||
get_prop(system_app, vendor_fm_prop)
|
||||
get_prop(system_app, hwrev_prop)
|
||||
|
||||
Reference in New Issue
Block a user