mirror of
https://github.com/LineageOS/android_device_xiaomi_grus.git
synced 2024-11-27 03:55:41 +00:00
grus: Support UDFPS on AOD
Change-Id: If732c1fc78f6515aeaf95c2b6d8744326b25ebba
This commit is contained in:
parent
1f3b3973e2
commit
6ed721b830
@ -31,6 +31,10 @@ DEVICE_PACKAGE_OVERLAYS += \
|
|||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/qdcm/,$(TARGET_COPY_OUT_VENDOR)/etc)
|
$(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
|
# Shipping API level
|
||||||
PRODUCT_SHIPPING_API_LEVEL := 28
|
PRODUCT_SHIPPING_API_LEVEL := 28
|
||||||
|
|
||||||
|
@ -297,4 +297,7 @@
|
|||||||
|
|
||||||
<!-- How long it takes for the HW to start illuminating after the illumination is requested. -->
|
<!-- How long it takes for the HW to start illuminating after the illumination is requested. -->
|
||||||
<integer name="config_udfps_illumination_transition_ms">0</integer>
|
<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>
|
</resources>
|
||||||
|
@ -300,7 +300,6 @@ vendor/etc/sensors/config/sns_rmd.json
|
|||||||
vendor/etc/sensors/config/sns_rotv.json
|
vendor/etc/sensors/config/sns_rotv.json
|
||||||
vendor/etc/sensors/config/sns_smd.json
|
vendor/etc/sensors/config/sns_smd.json
|
||||||
vendor/etc/sensors/config/tcs3701.json
|
vendor/etc/sensors/config/tcs3701.json
|
||||||
vendor/etc/sensors/hals.conf
|
|
||||||
vendor/etc/sensors/sns_reg_config
|
vendor/etc/sensors/sns_reg_config
|
||||||
vendor/etc/elliptic_sensor.xml
|
vendor/etc/elliptic_sensor.xml
|
||||||
|
|
||||||
|
4
sensors/hals.conf
Normal file
4
sensors/hals.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
sensors.ssc.so
|
||||||
|
sensors.elliptic.so
|
||||||
|
sensors.touch.so
|
||||||
|
sensors.udfps.so
|
Loading…
Reference in New Issue
Block a user