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>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</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">
|
<hal format="hidl">
|
||||||
<name>android.hardware.media.omx</name>
|
<name>android.hardware.media.omx</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
@ -115,6 +115,10 @@ PRODUCT_COPY_FILES += \
|
|||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.keymaster@3.0-impl
|
android.hardware.keymaster@3.0-impl
|
||||||
|
|
||||||
|
# Lights
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.light@2.0-service.samsung
|
||||||
|
|
||||||
# LiveDisplay
|
# LiveDisplay
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
vendor.lineage.livedisplay@2.0-service.samsung-qcom
|
vendor.lineage.livedisplay@2.0-service.samsung-qcom
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
# executeables
|
# executeables
|
||||||
/system/vendor/bin/macloader u:object_r:macloader_exec:s0
|
/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\.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/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\.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
|
/(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
|
efs_file
|
||||||
qti_debugfs
|
qti_debugfs
|
||||||
}:file r_file_perms;
|
}: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