Fix "no sound" issue for Redmi Note 8 Pro

This commit is contained in:
jumper047 2020-04-02 22:04:43 +03:00 committed by tboy1991
parent ed96573668
commit ba3e75dc5e

View File

@ -331,7 +331,8 @@ for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril.
mount -o bind "/mnt/phh/$b" "$f"
done
if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereus; then
if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereus \
-e Redmi/begonia; then
setprop debug.stagefright.omx_default_rank.sw-audio 1
setprop debug.stagefright.omx_default_rank 0
fi