Fix Redmi 8 brightness scale

This commit is contained in:
J0SH1X 2019-12-24 20:52:47 +01:00 committed by GitHub
parent 18b20430fb
commit 666cc1ce4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \
-e xiaomi/clover -e xiaomi/wayne -e xiaomi/sakura \
-e xiaomi/nitrogen -e xiaomi/whyred -e xiaomi/platina \
-e xiaomi/ysl -e nubia/nx60 -e nubia/nx61 -e xiaomi/tulip \
-e xiaomi/lavender -e xiaomi/olivelite -e xiaomi/pine; then
-e xiaomi/lavender - e xiaomi/olive -e xiaomi/olivelite -e xiaomi/pine; then
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi