mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-common: Build vendor.lineage.touch HAL from hardware/samsung
Change-Id: I6eca1e9875cb5793a3a45c6e77bc201946ebd897
This commit is contained in:
parent
549cb6f5fb
commit
805d4f1785
3 changed files with 8 additions and 1 deletions
|
@ -213,6 +213,10 @@ PRODUCT_PACKAGES += \
|
||||||
android.hardware.sensors@1.0-impl.samsung8226 \
|
android.hardware.sensors@1.0-impl.samsung8226 \
|
||||||
android.hardware.sensors@1.0-service.samsung8226
|
android.hardware.sensors@1.0-service.samsung8226
|
||||||
|
|
||||||
|
# Touch features
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
vendor.lineage.touch@1.0-service.samsung
|
||||||
|
|
||||||
# USB
|
# USB
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.usb@1.0-service.basic
|
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)
|
$(call inherit-product-if-exists, vendor/samsung/msm8226-common/msm8226-common-vendor.mk)
|
||||||
|
|
||||||
# common msm8226
|
# common msm8226
|
||||||
$(call inherit-product, device/samsung/qcom-common/qcom-common.mk)
|
$(call inherit-product, device/samsung/qcom-common/qcom-common.mk)
|
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
# executeables
|
# 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/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
|
# sockets
|
||||||
/data/cam_socket3 u:object_r:camera_socket:s0
|
/data/cam_socket3 u:object_r:camera_socket:s0
|
||||||
|
|
2
sepolicy/common/hal_lineage_touch_default.te
Normal file
2
sepolicy/common/hal_lineage_touch_default.te
Normal 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;
|
Loading…
Reference in a new issue