Adding Brightness and DT2W fix to CPH1859 and CPH1961
This commit is contained in:
parent
dda3824e84
commit
3d3450c5da
@ -241,6 +241,10 @@ if getprop ro.vendor.product.device |grep -iq -e RMX1801 -e RMX1803 -e RMX1807 -
|
||||
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
|
||||
fi
|
||||
|
||||
if getprop ro.build.overlay.deviceid |grep -q -e CPH1859 -e CPH1861;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 \
|
||||
|
Loading…
Reference in New Issue
Block a user