diff --git a/extract-files.sh b/extract-files.sh index 845db9f..c4b1de1 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -49,6 +49,14 @@ if [ -z "${SRC}" ]; then SRC="adb" fi +function blob_fixup() { + case "${1}" in + product/etc/permissions/vendor.qti.hardware.data.connection-V1.0-java.xml|product/etc/permissions/vendor.qti.hardware.data.connection-V1.1-java.xml) + sed -i 's/version="2.0"/version="1.0"/g' "${2}" + ;; + esac +} + # Initialize the helper for common device setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}"