sm8250-common: Support UDFPS on AoD

Change-Id: I7196dce967c9adbc62bb5156ade749c92c7780a1
This commit is contained in:
Cosmin Tanislav
2022-02-20 19:21:09 +02:00
committed by LuK1337
parent fd931e235f
commit 4ea2bee34e
4 changed files with 10 additions and 2 deletions

View File

@@ -360,9 +360,13 @@ PRODUCT_PACKAGES += \
librmnetctl
# Sensors
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
PRODUCT_PACKAGES += \
android.hardware.sensors@2.0-service.multihal \
libsensorndkbridge
libsensorndkbridge \
sensors.oplus
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \

2
configs/hals.conf Normal file
View File

@@ -0,0 +1,2 @@
sensors.ssc.so
sensors.oplus.so

View File

@@ -70,4 +70,7 @@
that can be set by the user. -->
<integer name="config_screenBrightnessDoze">17</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

@@ -1256,7 +1256,6 @@ vendor/etc/sensors/config/sx932x_0.json
vendor/etc/sensors/config/tcs3408.json
vendor/etc/sensors/config/tcs3701.json
vendor/etc/sensors/config/wigig_sensing_0.json
vendor/etc/sensors/hals.conf
vendor/etc/sensors/sns_reg_config
vendor/lib64/hw/vendor.qti.hardware.sensorscalibrate@1.0-impl.so
vendor/lib64/libsensorcal.so