Add brightness fix for mipad 4

This commit is contained in:
Pierre-Hugues Husson 2018-08-29 16:34:14 +02:00
parent 95622e6a7b
commit 5efefba2bc

View File

@ -87,4 +87,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