Include Xiaomi Mi 6X in 12bits backlight devices

This commit is contained in:
Pierre-Hugues Husson 2018-09-04 20:16:14 +02:00
parent c23e5cc98c
commit 4dec3cf5e0

View File

@ -117,7 +117,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 Xiaomi/clover/clover;then if getprop ro.vendor.build.fingerprint |grep -q -e Xiaomi/clover/clover -e iaomi/wayne/wayne;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