In addition to null-mounting soundfx, also set property to disable effects (should both have the same effects)

This commit is contained in:
Pierre-Hugues Husson 2019-05-22 20:41:25 +02:00
parent 453790be16
commit f95b7236bd

View File

@ -177,6 +177,7 @@ if getprop ro.vendor.build.fingerprint | grep -iq \
-e iaomi/grus;then -e iaomi/grus;then
mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx
mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx
setprop ro.audio.ignore_effects true
fi fi
if [ "$(getprop ro.vendor.product.manufacturer)" = "motorola" ] || [ "$(getprop ro.product.vendor.manufacturer)" = "motorola" ]; then if [ "$(getprop ro.vendor.product.manufacturer)" = "motorola" ] || [ "$(getprop ro.product.vendor.manufacturer)" = "motorola" ]; then