From dd3827764faeee26815d10a125f091e4f3cba4ba Mon Sep 17 00:00:00 2001 From: Pavel Dubrova Date: Thu, 7 Oct 2021 10:39:12 +0300 Subject: [PATCH] sm6150-common: Provide android.frameworks.sensorservice@1.0 on vendor Following the commit f19703e ("common-treble: Provide radio, keymaster and secure_element HAL 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 : 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: Pavel Dubrova Change-Id: I72d9bcda1fdfd48c5fb9cb21666edd995ae4d9af --- sm6150.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/sm6150.mk b/sm6150.mk index 2b73192..00a1b40 100644 --- a/sm6150.mk +++ b/sm6150.mk @@ -93,6 +93,7 @@ PRODUCT_COPY_FILES += \ # Camera PRODUCT_PACKAGES += \ + android.frameworks.sensorservice@1.0.vendor \ android.hardware.camera.provider@2.4-impl \ android.hardware.camera.provider@2.4-service_64 \ libdng_sdk.vendor