Merge pull request #156 from DanijelXDA/patch-1

Fix distorted audio bug on GSI images for ginkgo and willow
This commit is contained in:
Pierre-Hugues HUSSON 2020-02-20 22:06:27 +01:00 committed by GitHub
commit 22df6a9302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -282,6 +282,10 @@ if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereu
setprop debug.stagefright.omx_default_rank 0
fi
if getprop ro.vendor.build.fingerprint | grep -iq -e xiaomi/ginkgo -e xiaomi/willow; then
mount -o bind /system/phh/empty /vendor/lib/soundfx/libvolumelistener.so
fi
mount -o bind /system/phh/empty /vendor/lib/libpdx_default_transport.so
mount -o bind /system/phh/empty /vendor/lib64/libpdx_default_transport.so