Fix screen recorder on Redmi9

This commit is contained in:
cangkurileung 2022-09-19 13:14:13 +00:00 committed by GitHub
parent 53c51cfa88
commit 8c28e09626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -581,6 +581,10 @@ if getprop ro.vendor.build.fingerprint | grep -iq -e Redmi/merlin; then
setprop debug.sf.enable_hwc_vds 0 setprop debug.sf.enable_hwc_vds 0
fi fi
if getprop ro.vendor.build.fingerprint | grep -iq -e Redmi/lancelot; then
setprop debug.sf.enable_hwc_vds 1
fi
if getprop ro.vendor.build.fingerprint | grep -iq -e Redmi/rosemary \ if getprop ro.vendor.build.fingerprint | grep -iq -e Redmi/rosemary \
-e Redmi/secret -e Redmi/maltose; then -e Redmi/secret -e Redmi/maltose; then
setprop debug.sf.latch_unsignaled 1 setprop debug.sf.latch_unsignaled 1