add sakura and nitrogen to 12bit backlights

This commit is contained in:
suwakowww 2018-11-03 15:50:51 +08:00 committed by Pierre-Hugues HUSSON
parent 10d312ae87
commit db77967142
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ if grep -qF 'mkdir /data/.fps 0770 system fingerp' vendor/etc/init/hw/init.mmi.r
chown system:9015 /sys/devices/soc/soc:fpc_fpc1020/irq_cnt
fi
if getprop ro.vendor.build.fingerprint |grep -q -e Xiaomi/clover/clover -e iaomi/wayne/wayne;then
if getprop ro.vendor.build.fingerprint |grep -q -i -e xiaomi/clover -e xiaomi/wayne -e xiaomi/sakura -e xiaomi/nitrogen;then
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
fi