Merge pull request #159 from Dunedan/disable-audio-effects-for-moto-g7play
Disable audio effects for Motorola Moto G7 Play
This commit is contained in:
commit
d467acb307
@ -273,6 +273,13 @@ if getprop ro.vendor.build.fingerprint | grep -iq \
|
|||||||
setprop ro.audio.ignore_effects true
|
setprop ro.audio.ignore_effects true
|
||||||
fi
|
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.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 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
|
if [ "$vndk" -ge 28 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user