msm8974-common: Build the Samsung hwbinder light service
Change-Id: I33c259766914a5a714b05b59735ee2a8d70b0a5c
This commit is contained in:
parent
1e9008e54f
commit
b46d020e98
@ -131,6 +131,15 @@
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.light</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.0</version>
|
||||
<interface>
|
||||
<name>ILight</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.media.omx</name>
|
||||
<transport>hwbinder</transport>
|
||||
|
@ -115,6 +115,10 @@ PRODUCT_COPY_FILES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.keymaster@3.0-impl
|
||||
|
||||
# Lights
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.light@2.0-service.samsung
|
||||
|
||||
# LiveDisplay
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.livedisplay@2.0-service.samsung-qcom
|
||||
|
@ -21,6 +21,7 @@
|
||||
# executeables
|
||||
/system/vendor/bin/macloader u:object_r:macloader_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service\.samsung u:object_r:hal_ir_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.samsung u:object_r:hal_light_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service.samsung8974 u:object_r:hal_sensors_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-qcom u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.samsung u:object_r:hal_lineage_touch_default_exec:s0
|
||||
|
9
sepolicy/common/hal_light_default.te
Normal file
9
sepolicy/common/hal_light_default.te
Normal file
@ -0,0 +1,9 @@
|
||||
allow hal_light_default {
|
||||
sysfs_sec_led
|
||||
sysfs_sec_touchkey
|
||||
}:dir search;
|
||||
|
||||
allow hal_light_default {
|
||||
sysfs_sec_led
|
||||
sysfs_sec_touchkey
|
||||
}:file rw_file_perms;
|
@ -7,8 +7,3 @@ allow system_server {
|
||||
efs_file
|
||||
qti_debugfs
|
||||
}:file r_file_perms;
|
||||
|
||||
allow system_server {
|
||||
sysfs_sec_led
|
||||
sysfs_sec_touchkey
|
||||
}:file w_file_perms;
|
||||
|
Loading…
Reference in New Issue
Block a user