unicorn: Add support for udfps long press sensor
Change-Id: I7196dce967c9adbc62bb5156ade749c92c7780a1
This commit is contained in:
@@ -18,6 +18,13 @@ PRODUCT_PACKAGES += \
|
||||
SystemUIResUnicorn \
|
||||
WifiResUnicorn
|
||||
|
||||
# Sensors
|
||||
PRODUCT_PACKAGES += \
|
||||
sensors.xiaomi
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
|
||||
|
||||
# Soong namespaces
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
$(LOCAL_PATH)
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<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>
|
||||
|
||||
<!-- The bounding path of the cutout region of the main built-in display.
|
||||
Must either be empty if there is no cutout region, or a string that is parsable by
|
||||
{@link android.util.PathParser}.
|
||||
|
||||
4
sensors/hals.conf
Normal file
4
sensors/hals.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
sensors.ultrasoundproximity.so
|
||||
sensors.ssc.so
|
||||
sensors.touch.detect.so
|
||||
sensors.xiaomi.so
|
||||
Reference in New Issue
Block a user