Merge pull request #83 from penn5/patch-5

Fix camera in DND on Daisy
This commit is contained in:
Pierre-Hugues HUSSON 2019-02-05 00:21:08 +01:00 committed by GitHub
commit 554a4eca13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,7 +259,6 @@ if getprop ro.vendor.build.fingerprint | grep -qE -e ".*(crown|star)[q2]*lte.*"
done
fi
if getprop ro.vendor.build.fingerprint |grep -qiE '^samsung';then
if getprop ro.hardware |grep -q qcom;then
setprop persist.sys.overlay.devinputjack false
@ -270,6 +269,10 @@ if getprop ro.vendor.build.fingerprint |grep -qiE '^samsung';then
setprop persist.sys.phh.sdk_override /vendor/bin/hw/rild=27
fi
fi
if getprop ro.vendor.build.fingerprint | grep -qE '^xiaomi/daisy/daisy_sprout:8.1.0/OPM.*'; then
setprop setprop audio.camerasound.force true
# Fix camera on DND, ugly workaround but meh
fi
mount -o bind /mnt/phh/empty_dir /vendor/etc/audio || true