Disable audio effects for Motorola Moto G7 Play
This disables audio effects for the Motorola Moto G7 Play (channel) as enabled audio effects break audio via Bluetooth. It requires a separate if-statement in `rw-system.sh`, because `ro.vendor.build.fingerprint` isn't set for the device. Relates to: https://github.com/phhusson/treble_experimentations/issues/857
This commit is contained in:
parent
04583fa95a
commit
962529890f
@ -257,6 +257,13 @@ if getprop ro.vendor.build.fingerprint | grep -iq \
|
||||
setprop ro.audio.ignore_effects true
|
||||
fi
|
||||
|
||||
if getprop ro.build.fingerprint | grep -iq \
|
||||
-e motorola/channel; then
|
||||
mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx
|
||||
mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx
|
||||
setprop ro.audio.ignore_effects true
|
||||
fi
|
||||
|
||||
if [ "$(getprop ro.vendor.product.manufacturer)" = "motorola" ] || [ "$(getprop ro.product.vendor.manufacturer)" = "motorola" ]; then
|
||||
if getprop ro.vendor.product.device | grep -q -e nora -e ali -e hannah -e evert -e jeter -e deen -e james -e pettyl -e jater; then
|
||||
if [ "$vndk" -ge 28 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user