Fix low brightness issue on realme 2 pro

This commit is contained in:
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ 2019-02-01 15:47:27 +05:30 committed by Pierre-Hugues Husson
parent c97cc4c507
commit 69f230df9c

View File

@ -163,6 +163,10 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
if getprop ro.vendor.product.device |grep -iq -e RMX1801 -e RMX1803 -e RMX1807;then
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
fi
if getprop ro.vendor.build.fingerprint | grep -iq \
-e Xiaomi/beryllium/beryllium -e Xiaomi/sirius/sirius \
-e Xiaomi/dipper/dipper -e Xiaomi/ursa/ursa -e Xiaomi/polaris/polaris \