msm8974-common: Build vendor.lineage.touch HAL from hardware/samsung
Change-Id: I6eca1e9875cb5793a3a45c6e77bc201946ebd897
This commit is contained in:
parent
67de8e7484
commit
c036f18fe2
@ -178,6 +178,10 @@ PRODUCT_PACKAGES += \
|
||||
android.hardware.sensors@1.0-impl.samsung8974 \
|
||||
android.hardware.sensors@1.0-service.samsung8974
|
||||
|
||||
# Touch features
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.touch@1.0-service.samsung
|
||||
|
||||
# Trust HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.trust@1.0-service
|
||||
|
@ -21,6 +21,7 @@
|
||||
# executeables
|
||||
/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/vendor\.lineage\.touch@1\.0-service\.samsung u:object_r:hal_lineage_touch_default_exec:s0
|
||||
|
||||
# firmware
|
||||
/system/vendor/firmware/bcm(.*).hcd u:object_r:bt_fw_file: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 New Issue
Block a user