Fix distorted audio bug on GSI images for ginkgo and willow

This commit is contained in:
Danijel Jovanović 2020-02-20 21:57:00 +01:00 committed by GitHub
parent 0ba57d9364
commit e0d0c7ae32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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