fix: mia3 brightness scale

This commit is contained in:
lead4good 2019-12-22 11:55:41 +01:00
parent ba9d46f93a
commit 21655a0839

View File

@ -159,6 +159,12 @@ if getprop ro.vendor.build.fingerprint | grep -qE 'Sony/'; then
setprop persist.sys.qcom-brightness -1 setprop persist.sys.qcom-brightness -1
fi fi
# Xiaomi MiA3 uses OLED display which works best with this setting
if getprop ro.vendor.build.fingerprint | grep -iq \
-e iaomi/laurel_sprout;then
setprop persist.sys.qcom-brightness -1
fi
if getprop ro.vendor.build.fingerprint | grep -qi oneplus/oneplus6/oneplus6; then if getprop ro.vendor.build.fingerprint | grep -qi oneplus/oneplus6/oneplus6; then
resize2fs /dev/block/platform/soc/1d84000.ufshc/by-name/userdata resize2fs /dev/block/platform/soc/1d84000.ufshc/by-name/userdata
fi fi