Ignore audio efects on all moto

This commit is contained in:
Pierre-Hugues Husson 2020-03-15 13:28:30 +01:00 committed by tboy1991
parent f28837bce2
commit e8b45caa99

View File

@ -283,6 +283,7 @@ 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
setprop ro.audio.ignore_effects true
if [ "$vndk" -ge 28 ]; then if [ "$vndk" -ge 28 ]; then
f="/vendor/lib/libeffects.so" f="/vendor/lib/libeffects.so"
# shellcheck disable=SC2010 # shellcheck disable=SC2010