pyxis: 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 43e97a0aed
commit fe1d1a4c68
4 changed files with 10 additions and 1 deletions

View File

@@ -32,6 +32,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

@@ -332,4 +332,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

@@ -287,7 +287,6 @@ vendor/etc/sensors/config/sns_smd.json
vendor/etc/sensors/config/tcs3701.json
vendor/etc/sensors/config/tmd3702_0.json
vendor/etc/sensors/config/tsl2540_0.json
vendor/etc/sensors/hals.conf
vendor/etc/sensors/sns_reg_config
# Thermal configs

3
sensors/hals.conf Normal file
View File

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