mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 04:25:33 -04:00
universal7885: Introduce libcamera_metadata_helper
* For supporting VNDK and Treble rules.
Issue: In accordance to treble rules libcamera_client.so cannot be
used or included. For Camera HAL needed support for values of
CameraMetadata
Solution: Included CameraMetadata.h and .cpp files to this helper lib for camera hal and replaced with libcamera_client.so.
Change-Id: I33fced3cf5dffc721bf613456f5c85de6d57f71c
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
45a6b5b156
commit
986be0160f
6 changed files with 712 additions and 13 deletions
|
|
@ -33,6 +33,13 @@ function blob_fixup {
|
|||
vendor/lib*/libsec-ril-dsds.so)
|
||||
"$PATCHELF" --replace-needed "libcutils.so" "libcutils-v29.so" "$2"
|
||||
;;
|
||||
vendor/lib*/hw/camera.exynos7904.so)
|
||||
;&
|
||||
vendor/lib*/libexynoscamera.so)
|
||||
;&
|
||||
vendor/lib*/libexynoscamera3.so)
|
||||
"$PATCHELF" --replace-needed "libcamera_client.so" "libcamera_metadata_helper.so" "$2"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue