axolotl-shiftos: fingerprint: use libhidlbase-v32 for goodix
Test: run cts-on-gsi -m CtsBiometricsTestCases
Test: run cts-on-gsi -m CtsHardwareTestCases -t android.hardware.fingerprint.cts.FingerprintManagerTest
Test: run vts -m VtsHalBiometricsFingerprintV2_1TargetTest
Test: run vts -m VtsHalBiometricsFingerprintV2_2TargetTest
Change-Id: Iaef8ede57250aa171f9863e7e250c604ef241334
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/extract-files.sh b/extract-files.sh
index fc8efca..1901832 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -62,6 +62,9 @@
vendor/lib64/hw/camera.qcom.so)
grep -q "libcomparetf2_shim.so" "${2}" || "${PATCHELF}" --add-needed "libcomparetf2_shim.so" "${2}"
;;
+ vendor/lib64/libvendor.goodix.hardware.biometrics.fingerprint@2.1.so)
+ grep -q "libhidlbase-v32.so" "${2}" || "${PATCHELF}" --replace-needed "libhidlbase.so" "libhidlbase-v32.so" "${2}"
+ ;;
esac
}