Fixes errors detected with ELF checks:
error: Unresolved symbol: _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_
error: Unresolved symbol: _ZN7android19GraphicBufferMapper6unlockEPK13native_handle
Change-Id: I4b5e44c884cc708c98c903eb2621b8b8607f76c9
sed -i '/media 0770 media_rw media_rw/d' "${2}"
sed -i '/setprop ro.crypto.fuse_sdcard true/d' "${2}"
;;
- vendor/lib/hw/camera.amlogic.so|vendor/lib/hw/hwcomposer.amlogic.so|vendor/lib/libOmxCore.so)
+ vendor/lib/hw/camera.amlogic.so | vendor/lib/hw/hwcomposer.amlogic.so | \
+ vendor/lib/libOmxBase.so | vendor/lib/libOmxCore.so | vendor/lib/libOmxVideo.so | \
+ vendor/lib/libmeson_display_service.so)
[ "$2" = "" ] && return 0
grep -q "libui_shim.so" "${2}" || "${PATCHELF}" --add-needed "libui_shim.so" "${2}"
;;