summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjrior001 <jriordan001@gmail.com>2019-01-26 08:45:32 -0500
committerdoc HD <doc.divxm@gmail.com>2019-01-30 13:03:38 +0300
commitee07edf174103a0151657a54cae82077c504d764 (patch)
tree74235dae427e8f0714b94e51c2339236200a5dc7
parente95aafd442631b25e4b791d8fed878d4c1b7dc25 (diff)
sepolicy: legacy: add additional usb charging path label
Change-Id: Ibfe2dbf09e26db32e54ddd1183193367a58292bd
-rw-r--r--legacy-common/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy-common/file_contexts b/legacy-common/file_contexts
index 1997f94..ffc8818 100644
--- a/legacy-common/file_contexts
+++ b/legacy-common/file_contexts
@@ -25,6 +25,7 @@
# Battery
/sys/devices(/platform)?/soc\.0/qpnp-fg-[a-z0-9]+/power_supply/bms(/.*)? u:object_r:sysfs_battery_supply:s0
/sys/devices(/platform)?/soc\.0/qpnp-linear-charger-[a-z0-9]+/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0
+/sys/devices(/platform)?/soc\.0/qpnp-linear-charger-[a-z0-9]+/power_supply/usb-parallel(/.*)? u:object_r:sysfs_usb_supply:s0
/sys/devices(/platform)?/soc\.0/qpnp-smbcharger-[a-z0-9]+/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0
/sys/devices(/platform)?/soc\.0/qpnp-smbcharger-[a-z0-9]+/power_supply/dc(/.*)? u:object_r:sysfs_battery_supply:s0
/sys/devices(/platform)?/soc\.0/qpnp-vm-bms-[a-z0-9]+/power_supply/bms(/.*)? u:object_r:sysfs_battery_supply:s0