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'
This commit is contained in:
parent
05e5e5336a
commit
77bdfaf4d9
@ -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}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user