Added support for Motorola / Hannah

Thanks
This commit is contained in:
wh0dat 2019-01-15 02:39:28 -06:00 committed by GitHub
parent 26a5b8fd13
commit c3d94dd9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,13 +166,13 @@ if getprop ro.vendor.build.fingerprint |grep -q \
-e Xiaomi/beryllium/beryllium -e Xiaomi/sirius/sirius \ -e Xiaomi/beryllium/beryllium -e Xiaomi/sirius/sirius \
-e Xiaomi/dipper/dipper -e Xiaomi/ursa/ursa -e Xiaomi/polaris/polaris \ -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 motorola/ali/ali -e iaomi/perseus/perseus -e iaomi/platina/platina \
-e iaomi/equuleus/equuleus -e motorola/nora;then -e iaomi/equuleus/equuleus -e motorola/nora -e motorola/hannah;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
fi fi
if [ "$(getprop ro.vendor.product.manufacturer)" == "motorola" ];then if [ "$(getprop ro.vendor.product.manufacturer)" == "motorola" ];then
if getprop ro.vendor.product.device |grep -q -e nora -e ali;then if getprop ro.vendor.product.device |grep -q -e nora -e ali -e hannah;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
fi fi