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 afff20d8a4
commit 3e0f024cad

View File

@ -119,7 +119,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