e3q: Get sensors working

Change-Id: Id75e2083a6ae12e52851740160a9c411149c6389
This commit is contained in:
David Wronek 2024-12-29 12:00:59 +01:00
parent 1e09ee8172
commit db20ed9d55
4 changed files with 13 additions and 7 deletions

3
configs/hals.conf Normal file
View File

@ -0,0 +1,3 @@
sensors.qsh.so
sensors.grip.so
sensors.flicker.so

View File

@ -114,6 +114,11 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.opengles.deqp.level-2022-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \ frameworks/native/data/etc/android.software.opengles.deqp.level-2022-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \
frameworks/native/data/etc/android.software.vulkan.deqp.level-2022-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml frameworks/native/data/etc/android.software.vulkan.deqp.level-2022-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml
# Health
PRODUCT_PACKAGES += \
android.hardware.health-service.qti \
android.hardware.health-service.qti_recovery
# HIDL # HIDL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libhidltransport.vendor \ libhidltransport.vendor \

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_unplugTurnsOnScreen">true</bool>
<string-array name="networkAttributes" translatable="false"> <string-array name="networkAttributes" translatable="false">
<item>wifi,1,1,1,-1,true</item> <item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item> <item>mobile,0,0,0,-1,true</item>

View File

@ -587,12 +587,6 @@ vendor/lib64/libllvm-glnext.so
vendor/lib64/libllvm-qcom.so vendor/lib64/libllvm-qcom.so
vendor/lib64/libllvm-qgl.so vendor/lib64/libllvm-qgl.so
# Health
vendor/bin/hw/vendor.samsung.hardware.health-service
vendor/etc/init/vendor.samsung.hardware.health-service.rc
vendor/etc/vintf/manifest/vendor.samsung.hardware.health-service.xml
vendor/lib64/vendor.samsung.hardware.health-V1-ndk.so
# Hermes # Hermes
vendor/bin/hermesd vendor/bin/hermesd
vendor/bin/hw/vendor.samsung.hardware.security.hermes-service vendor/bin/hw/vendor.samsung.hardware.security.hermes-service
@ -873,7 +867,6 @@ vendor/etc/sensors/config/sns_rotv.json
vendor/etc/sensors/config/sns_tilt.json vendor/etc/sensors/config/sns_tilt.json
vendor/etc/sensors/config/sns_tilt_sw_disabled.json vendor/etc/sensors/config/sns_tilt_sw_disabled.json
vendor/etc/sensors/config/sns_tilt_sw_enabled.json vendor/etc/sensors/config/sns_tilt_sw_enabled.json
vendor/etc/sensors/hals.conf
vendor/etc/sensors/sns_reg_config vendor/etc/sensors/sns_reg_config
vendor/lib64/libnanopb.so vendor/lib64/libnanopb.so
vendor/lib64/libqsh.so vendor/lib64/libqsh.so
@ -888,6 +881,9 @@ vendor/lib64/libsnsapi.so
vendor/lib64/libsnsdiaglog.so vendor/lib64/libsnsdiaglog.so
vendor/lib64/libsnsutils.so vendor/lib64/libsnsutils.so
vendor/lib64/libssc_default_listener.so vendor/lib64/libssc_default_listener.so
vendor/lib64/sensors.flicker.so
vendor/lib64/sensors.grip.so
vendor/lib64/sensors.qsh.so
# SSR # SSR
vendor/bin/ssr_diag vendor/bin/ssr_diag