diff --git a/device.mk b/device.mk index 714ee15..3d874e9 100644 --- a/device.mk +++ b/device.mk @@ -31,6 +31,10 @@ DEVICE_PACKAGE_OVERLAYS += \ PRODUCT_COPY_FILES += \ $(call find-copy-subdir-files,*,$(LOCAL_PATH)/qdcm/,$(TARGET_COPY_OUT_VENDOR)/etc) +# Sensors +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf + # Shipping API level PRODUCT_SHIPPING_API_LEVEL := 28 diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index c0c16fc..3afc3de 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -297,4 +297,7 @@ 0 + + + org.lineageos.sensor.udfps diff --git a/proprietary-files.txt b/proprietary-files.txt index a99f67a..0b49579 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -300,7 +300,6 @@ vendor/etc/sensors/config/sns_rmd.json vendor/etc/sensors/config/sns_rotv.json vendor/etc/sensors/config/sns_smd.json vendor/etc/sensors/config/tcs3701.json -vendor/etc/sensors/hals.conf vendor/etc/sensors/sns_reg_config vendor/etc/elliptic_sensor.xml diff --git a/sensors/hals.conf b/sensors/hals.conf new file mode 100644 index 0000000..8f89078 --- /dev/null +++ b/sensors/hals.conf @@ -0,0 +1,4 @@ +sensors.ssc.so +sensors.elliptic.so +sensors.touch.so +sensors.udfps.so