Fix brightness slider on Xiaomi Poco M4 Pro 5G

This commit is contained in:
Taqi Raza 2022-07-30 11:35:42 +05:00
parent bbc2268788
commit 1fb1f6346b
No known key found for this signature in database
GPG Key ID: 9D9E5BFAB7469098

View File

@ -424,7 +424,7 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \
-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/olive -e xiaomi/olivelite -e xiaomi/pine \
-e Redmi/lancelot -e Redmi/galahad; then
-e Redmi/lancelot -e Redmi/galahad -e POCO/evergreen; then
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi