Browse Source

Merge pull request #240 from ix5/sepolicy-batteryinfo

[WIP] sepolicy_platform: Missing power supply paths
treble-odm
Alin Jerpelea 9 months ago
parent
commit
3762d45727
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      sepolicy_platform/genfs_contexts

+ 3
- 0
sepolicy_platform/genfs_contexts View File

@@ -28,3 +28,6 @@ genfscon sysfs /devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-00/200f000.q

genfscon sysfs /devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,pmi8950@2:qcom,fg/power_supply u:object_r:sysfs_batteryinfo:s0
genfscon sysfs /devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,pmi8950@2:qcom,qpnp-smbcharger/power_supply u:object_r:sysfs_batteryinfo:s0
genfscon sysfs /devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,pmi8950@2:bcl@4200/power_supply/fg_adc u:object_r:sysfs_batteryinfo:s0
genfscon sysfs /devices/platform/soc/7af6000.i2c/i2c-6/6-0025/power_supply/typec u:object_r:sysfs_batteryinfo:s0
genfscon sysfs /devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,pmi8950@2:qcom,qpnp-smbcharger/power_supply/usb u:object_r:sysfs_batteryinfo:s0

Loading…
Cancel
Save