Add Realme 6 for lcd brightness & fingerprint tricks

This commit is contained in:
Pierre-Hugues Husson 2020-08-13 15:48:14 +02:00
parent 6428935728
commit 81c17b3aa3

View File

@ -305,6 +305,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