Add brightness fix for mipad 4
This commit is contained in:
parent
006a105a32
commit
e4185d0cb0
@ -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
|
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
|
||||||
|
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
|
mount -o bind /system/phh/empty /vendor/overlay/SysuiDarkTheme/SysuiDarkTheme.apk || true
|
||||||
|
Loading…
Reference in New Issue
Block a user