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

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 chown system:9015 /sys/devices/soc/soc:fpc_fpc1020/irq_cnt
fi 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) setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
fi fi