LG8n: Use libshim_ui for vtservice

F linker  : CANNOT LINK EXECUTABLE /system_ext/bin/vtservice: cannot locate symbol _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_ referenced by /system_ext/lib64/libsource.so...

Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
fjrXTR 2024-07-31 21:49:04 +08:00 committed by Shirayuki39
parent 1ac966e657
commit 770668daba

View file

@ -125,7 +125,7 @@ function blob_fixup {
vendor/lib64/mt6789/libcam.utils.sensorprovider.so)
"${PATCHELF}" --add-needed "libshim_sensors.so" "${2}"
;;
lib64/libsource.so)
lib64/libsource.so | bin/vtservice )
grep -q libshim_ui.so "$2" || "$PATCHELF" --add-needed libshim_ui.so "$2"
;;
esac