Merge pull request #249 from R0rt1z2/patch-1

BQ Aquaris M10 HD fixes
This commit is contained in:
Pierre-Hugues HUSSON 2021-05-11 19:19:09 +02:00 committed by GitHub
commit e5c0da0939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -399,12 +399,18 @@ if getprop ro.vendor.build.fingerprint | grep -iq \
-e motorola/hannah -e motorola/james -e motorola/pettyl -e xiaomi/cepheus \
-e xiaomi/grus -e xiaomi/cereus -e xiaomi/cactus -e xiaomi/raphael -e xiaomi/davinci \
-e xiaomi/ginkgo -e xiaomi/laurel_sprout -e xiaomi/andromeda \
-e redmi/curtana -e redmi/picasso ; then
-e redmi/curtana -e redmi/picasso \
-e bq/Aquaris_M10 ; 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.build.fingerprint | grep -iq \
-e bq/Aquaris_M10 ; then
setprop ro.surface_flinger.primary_display_orientation ORIENTATION_90
fi
if getprop ro.build.fingerprint | grep -iq \
-e motorola/channel; then
mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx