Add tulip in qcom backlight

This commit is contained in:
Pierre-Hugues Husson 2019-05-20 23:35:16 +02:00
parent fdb303e941
commit 453790be16

View File

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