Add pettyl and james in the list of borked moto devices

This commit is contained in:
Pierre-Hugues Husson 2019-03-04 21:56:20 +01:00
parent 5574bc3d91
commit a8b1cfb7cb

View File

@ -170,13 +170,13 @@ if getprop ro.vendor.build.fingerprint |grep -iq \
-e Xiaomi/dipper/dipper -e Xiaomi/ursa/ursa -e Xiaomi/polaris/polaris \
-e motorola/ali/ali -e iaomi/perseus/perseus -e iaomi/platina/platina \
-e iaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen \
-e motorola/hannah;then
-e motorola/hannah -e motorola/james -e motorola/pettyl;then
mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx
mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx
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;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;then
if [ "$vndk" -ge 28 ];then
f="/vendor/lib/libeffects.so"
# shellcheck disable=SC2010