msm8226-common: Build vendor.lineage.touch HAL from hardware/samsung

Change-Id: I6eca1e9875cb5793a3a45c6e77bc201946ebd897
This commit is contained in:
Paul Keith 2019-01-09 00:47:48 +01:00 committed by Francescodario Cuzzocrea
parent bd94f1d26c
commit 84635c45a7
3 changed files with 8 additions and 1 deletions

View file

@ -213,6 +213,10 @@ PRODUCT_PACKAGES += \
android.hardware.sensors@1.0-impl.samsung8226 \
android.hardware.sensors@1.0-service.samsung8226
# Touch features
PRODUCT_PACKAGES += \
vendor.lineage.touch@1.0-service.samsung
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.0-service.basic
@ -243,4 +247,4 @@ PRODUCT_COPY_FILES += \
$(call inherit-product-if-exists, vendor/samsung/msm8226-common/msm8226-common-vendor.mk)
# common msm8226
$(call inherit-product, device/samsung/qcom-common/qcom-common.mk)
$(call inherit-product, device/samsung/qcom-common/qcom-common.mk)

View file

@ -27,6 +27,7 @@
# executeables
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service.samsung8226 u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.samsung u:object_r:hal_lineage_touch_default_exec:s0
# sockets
/data/cam_socket3 u:object_r:camera_socket:s0

View file

@ -0,0 +1,2 @@
allow hal_lineage_touch_default sysfs_sec_tsp:dir search;
allow hal_lineage_touch_default sysfs_sec_tsp:file rw_file_perms;