Skip to content
Snippets Groups Projects
Commit 77bdfaf4 authored by ItsVixano's avatar ItsVixano Committed by Cosmin Tanislav
Browse files

sm8350-common: proprietary-files: fix vendor.qti.hardware.data.connection xml version

Use sed to patch vendor.qti.hardware.data.connection-V1.*-java.xml
files.

parser error : Unsupported version '2.0'
parent 05e5e533
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,14 @@ if [ -z "${SRC}" ]; then ...@@ -49,6 +49,14 @@ if [ -z "${SRC}" ]; then
SRC="adb" SRC="adb"
fi 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 # Initialize the helper for common device
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}" setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment