summaryrefslogtreecommitdiff
path: root/extract-files.sh
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-10-27 17:14:26 +0100
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commit15e49795edd4d1a72d9061ad03ba6b580d7ccf2f (patch)
tree2afbaa8d174061f1c781813f913fa734626cbba4 /extract-files.sh
parent769f042776000748b6c7fb0008abf781a23cb820 (diff)
sdm660-common: Hex edit qti_libpermissions
* Prevents crashing of qcrilmsgtunnel Change-Id: Ica4e997f998d8cd078670b9e24a82b4b69380818
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/extract-files.sh b/extract-files.sh
index c50bac1..ff97239 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -75,6 +75,9 @@ function blob_fixup() {
patchelf --replace-needed libMiWatermark.so libMiWatermark_shim.so "${2}"
patchelf --add-needed libcamera_sdm660_shim.so "${2}"
;;
+
+ etc/permissions/qti_libpermissions.xml)
+ sed -i 's|name="android.hidl.manager-V1.0-java"|name="android.hidl.manager@1.0-java"|g' "${2}"
esac
}