LG8n: Link mediatek camera provider against v32 libutils

* Abort message: 'incStrongRequireStrong() called on 0xb40000770d0587a0
  which isn't already owned'
* Required after U QPR3

Change-Id: Ie6ea7f331207f604cb87804c67f4de9fd9a60d76
Signed-off-by: ChrisCatto <chriscatto08@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
ChrisCatto 2024-07-26 00:45:10 +08:00 committed by Shirayuki39
parent 953bdcdccc
commit 07c8117b82

View file

@ -105,6 +105,9 @@ function blob_fixup {
"${PATCHELF}" --replace-needed "libhidlbase.so" "libhidlbase-v31.so" "${2}" "${PATCHELF}" --replace-needed "libhidlbase.so" "libhidlbase-v31.so" "${2}"
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v31.so" "${2}" "${PATCHELF}" --replace-needed "libutils.so" "libutils-v31.so" "${2}"
;; ;;
vendor/lib64/hw/mt6789/android.hardware.camera.provider@2.6-impl-mediatek.so)
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}"
;;
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service | vendor/lib64/android.hardware.power-service-mediatek.so) vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service | vendor/lib64/android.hardware.power-service-mediatek.so)
"${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "$2" "${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "$2"
;; ;;