RMX1831: Fix fp clearing after reboot issue.

This commit is contained in:
Lokesh Vazirani 2020-12-30 11:48:22 +05:30 committed by GitHub
parent e63e4d7cd9
commit 0178714247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,6 +358,11 @@ if getprop ro.build.fingerprint | grep -iq \
setprop ro.audio.ignore_effects true
fi
if getprop persist.sys.phh.fingerprint.nocleanup | grep -q -i -e realme/RMX1831; then
# Fix fingerprint cleanup after reboot in RMX1831 aka realme U1
setprop.sys.phh.fingerprint.nocleanup true
fi
if [ "$(getprop ro.vendor.product.manufacturer)" = "motorola" ] || [ "$(getprop ro.product.vendor.manufacturer)" = "motorola" ]; then
if getprop ro.vendor.product.device | grep -q -e nora -e ali -e hannah -e evert -e jeter -e deen -e james -e pettyl -e jater; then
setprop ro.audio.ignore_effects true