From 2c29f204fccf040824a4770719d4b1c2f61e24a9 Mon Sep 17 00:00:00 2001 From: darkestDark <36689074+darkestDark@users.noreply.github.com> Date: Mon, 3 Jun 2019 06:53:40 +0200 Subject: [PATCH] Prevent Brightness Flickering Bug on Redmi Note 7 Add the Device to the List, which gets the prop persist.sys.qcom-brightness set. --- rw-system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rw-system.sh b/rw-system.sh index f3cbe73..c5ba2b9 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -160,7 +160,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 -e nubia/nx60 -e nubia/nx61 -e xiaomi/tulip; then + -e xiaomi/ysl -e nubia/nx60 -e nubia/nx61 -e xiaomi/tulip -e xiaomi/lavender; then setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)" fi