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
1 changed files with 4 additions and 0 deletions

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
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 \
-e Redmi/secret -e Redmi/maltose; then
setprop debug.sf.latch_unsignaled 1