diff --git a/extract-files.sh b/extract-files.sh index d857a5c..8301576 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -58,6 +58,14 @@ if [ -z "${SRC}" ]; then SRC="adb" fi +function blob_fixup() { + case "${1}" in + vendor/etc/seccomp_policy/vendor.qti.hardware.dsp.policy) + echo 'madvise: 1' >> ${2} + ;; + esac +} + if [ -z "${ONLY_TARGET}" ]; then # Initialize the helper for common device setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"