grus: Support UDFPS on AOD

Change-Id: If732c1fc78f6515aeaf95c2b6d8744326b25ebba
This commit is contained in:
Ivan Vecera 2022-09-16 17:31:11 +02:00 committed by Sebastiano Barezzi
parent 1f3b3973e2
commit 6ed721b830
No known key found for this signature in database
GPG Key ID: 3AB8DD0A9D920EFE
4 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -297,4 +297,7 @@
<!-- How long it takes for the HW to start illuminating after the illumination is requested. -->
<integer name="config_udfps_illumination_transition_ms">0</integer>
<!-- Type of the udfps long press sensor. Empty if long press is not supported. -->
<string name="config_dozeUdfpsLongPressSensorType" translatable="false">org.lineageos.sensor.udfps</string>
</resources>

View File

@ -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

4
sensors/hals.conf Normal file
View File

@ -0,0 +1,4 @@
sensors.ssc.so
sensors.elliptic.so
sensors.touch.so
sensors.udfps.so