msm8974-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 Kevin F. Haggerty
parent 67de8e7484
commit c036f18fe2
No known key found for this signature in database
GPG Key ID: 6D95512933112729
3 changed files with 7 additions and 0 deletions

View File

@ -178,6 +178,10 @@ PRODUCT_PACKAGES += \
android.hardware.sensors@1.0-impl.samsung8974 \ android.hardware.sensors@1.0-impl.samsung8974 \
android.hardware.sensors@1.0-service.samsung8974 android.hardware.sensors@1.0-service.samsung8974
# Touch features
PRODUCT_PACKAGES += \
vendor.lineage.touch@1.0-service.samsung
# Trust HAL # Trust HAL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
vendor.lineage.trust@1.0-service vendor.lineage.trust@1.0-service

View File

@ -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\.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\.touch@1\.0-service\.samsung u:object_r:hal_lineage_touch_default_exec:s0
# firmware # firmware
/system/vendor/firmware/bcm(.*).hcd u:object_r:bt_fw_file:s0 /system/vendor/firmware/bcm(.*).hcd u:object_r:bt_fw_file: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;