Merge pull request #141 from eremitein/android-10.0
[daisy] revert camera in DnD fix
This commit is contained in:
commit
2a42bd0ed2
@ -317,6 +317,11 @@ if getprop ro.vendor.product.device | grep -q -e nora -e rhannah; then
|
||||
setprop debug.sf.latch_unsignaled 1
|
||||
fi
|
||||
|
||||
if getprop ro.vendor.build.fingerprint | grep -iq -e xiaomi/daisy; then
|
||||
setprop debug.sf.latch_unsignaled 1
|
||||
setprop debug.sf.enable_hwc_vds 1
|
||||
fi
|
||||
|
||||
if getprop ro.vendor.build.fingerprint | grep -iq -E -e 'huawei|honor' || getprop persist.sys.overlay.huawei | grep -iq -E -e 'true'; then
|
||||
p=/product/etc/nfc/libnfc_nxp_*_*.conf
|
||||
mount -o bind "$p" /system/etc/libnfc-nxp.conf ||
|
||||
@ -364,7 +369,7 @@ if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung'; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if getprop ro.vendor.build.fingerprint | grep -qE '^xiaomi/(daisy|wayne)/(daisy|wayne).*'; then
|
||||
if getprop ro.vendor.build.fingerprint | grep -qE '^xiaomi/wayne/wayne.*'; then
|
||||
# Fix camera on DND, ugly workaround but meh
|
||||
setprop audio.camerasound.force true
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user