sonyxperiadev / device-sony-common

70 stars 139 forks source link

[s-mr1] common-treble: Provide android.frameworks.sensorservice@1.0 on vendor #870

Closed bartcubbins closed 2 years ago

bartcubbins commented 2 years ago

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 : <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: Pavel Dubrova pashadubrova@gmail.com