Fix camera for cactus and cereus

This commit is contained in:
Myst33d 2020-02-20 22:19:11 +06:00 committed by GitHub
parent a35833ed12
commit c198bdb1b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,6 +278,7 @@ for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril.
done
if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereus; then
mount -o bind /system/phh/empty /vendor/lib/libpdx_default_transport.so
setprop debug.stagefright.omx_default_rank.sw-audio 1
setprop debug.stagefright.omx_default_rank 0
fi