Add brightness fix for mipad 4

This commit is contained in:
Pierre-Hugues Husson 2018-08-29 16:34:14 +02:00
parent 006a105a32
commit e4185d0cb0

View File

@ -88,4 +88,8 @@ 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 Xiaomi/clover/clover;then
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
fi
mount -o bind /system/phh/empty /vendor/overlay/SysuiDarkTheme/SysuiDarkTheme.apk || true