beyond2lte: Use libutils from VNDK32 for HWC and sensors
* Abort message: 'incStrongRequireStrong() called on 0x7586a3a1c0 which isn't already owned'
Change-Id: Icd5a845ecf5226d5b2c74c5d19ba699eb74acda0
diff --git a/extract-files.sh b/extract-files.sh
index beb8555..55c01a7 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -20,6 +20,9 @@
xxd -p "${2}" | sed "s/8b022036/1f2003d5/g" | xxd -r -p > "${2}".patched
mv "${2}".patched "${2}"
;;
+ vendor/lib*/libexynosdisplay.so|vendor/lib*/hw/hwcomposer.exynos9820.so|vendor/lib*/sensors.*.so)
+ "${PATCHELF}" --replace-needed libutils.so libutils-v32.so "${2}"
+ ;;
esac
}