Add brightness fix for mipad 4
This commit is contained in:
parent
95622e6a7b
commit
5efefba2bc
@ -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
|
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