sdm660-common: Provide android.frameworks.sensorservice@1.0 on vendor

starting with Android 12 most HAL libraries are not included in VNDK anymore
they need to be explicitly pulled in to `/vendor` for odm blobs
to be allowed to access them:

    QCamera : <MCI><ERROR> mm_camera_load_shim_lib: 3306: dlopen failed
    with error dlopen failed: library
    "android.frameworks.sensorservice@1.0.so" not found: needed by
    /odm/lib/libmmcamera2_stats_modules.so in namespace (default)

android.frameworks.sensorservice@1.0 is used by at least mm-camera framework.

Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Pavel Dubrova 2021-10-18 00:41:26 +02:00 committed by pix106
parent 168cf8f085
commit 4b0b81c784

View file

@ -513,6 +513,7 @@ PRODUCT_COPY_FILES += \
# Sensors
PRODUCT_PACKAGES += \
android.frameworks.sensorservice@1.0 \
android.frameworks.sensorservice@1.0.vendor \
android.hardware.sensors@1.0-impl \
android.hardware.sensors@1.0-service \
libsensorndkbridge