Nubia RedMagic needs backlight thingy

This commit is contained in:
Pierre-Hugues Husson 2019-05-04 18:04:21 +02:00
parent 75a2e0f64f
commit 164e73b49c

View File

@ -159,7 +159,7 @@ fi
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; then
-e xiaomi/ysl -e nubia/nx60; then
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi