Add Realme 6 for lcd brightness & fingerprint tricks

This commit is contained in:
Pierre-Hugues Husson 2020-08-13 15:48:14 +02:00 committed by tboy1991
parent d982033bbc
commit df3bff6341

View File

@ -303,6 +303,12 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
#Realme 6
if getprop ro.vendor.product.device |grep -iq -e RMX2001;then
setprop persist.sys.phh.fingerprint.nocleanup true
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
if getprop ro.vendor.product.device |grep -iq -e RMX1801 -e RMX1803 -e RMX1807;then
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi