sm8350-common: sepolicy: add powershare rules

This commit is contained in:
Cosmin Tanislav 2021-10-13 22:58:55 +03:00
parent d450e594e1
commit 61d11a676c
2 changed files with 4 additions and 0 deletions

2
sepolicy/vendor/genfs_contexts vendored Normal file
View File

@ -0,0 +1,2 @@
# Battery
genfscon sysfs /class/qcom-battery u:object_r:vendor_sysfs_battery_supply:s0

View File

@ -0,0 +1,2 @@
allow hal_lineage_powershare_default vendor_sysfs_battery_supply:dir search;
allow hal_lineage_powershare_default vendor_sysfs_battery_supply:file rw_file_perms;