This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_motorola_msm8953-common/sepolicy/vendor/system_app.te
Sonal Singh d8e72e0b21 msm8953-common: sepolicy: Add sepolicy for battery health
Change-Id: I2092c760a81328ec4c93b4b47520213b65f0fa6e
2021-09-19 15:59:53 -03:00

10 lines
284 B
Plaintext

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)