summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authorAndrew Dodd <atd7@cornell.edu>2015-03-23 08:06:31 -0400
committerArian <arian.kulmer@web.de>2019-10-25 22:16:12 +0200
commit9f0cff2de4e17c54036b75f4d59458b172c581ec (patch)
tree23eb98622daa54b39da49e053f4799e6329ff4cc /sepolicy
parentd8be450fdccd094a815ca0c87bc844e51954792f (diff)
shinano: Add HVDCP service for QC2.0
This is used to enabled HVDCP (Quick Charge 2.0) negotiation Without this service, HVDCP chargers will treat the device as a non-HVDCP-capable one. Signed-off-by: Humberto Borba <humberos@gmail.com> Change-Id: Ic6921af66e86eed3e41c523a5543530c409fda18 (cherry picked from commit 1996c89092a98db01981378a18906f59e6d6f32c)
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index b5308c0..f1342ad 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -20,3 +20,6 @@
# WIFI
/sys/module/bcmdhd/parameters/firmware_path u:object_r:sysfs_wlan_fwpath:s0
+
+# Quick Charge
+/system/vendor/bin/hvdcp u:object_r:hvdcp_exec:s0