Merge branch 'wh0dat-patch-1' of https://github.com/wh0dat/device_phh_treble into android-9.0

This commit is contained in:
Pierre-Hugues Husson 2019-01-17 00:45:16 +01:00
commit 70874ebb27
1 changed files with 3 additions and 2 deletions

View File

@ -167,13 +167,14 @@ if getprop ro.vendor.build.fingerprint |grep -iq \
-e Xiaomi/beryllium/beryllium -e Xiaomi/sirius/sirius \
-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;then
-e iaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen \
-e motorola/hannah;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" ];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/lib/soundfx
fi