Merge pull request #135 from lead4good/android-10.0

fix: mia3 brightness scale
This commit is contained in:
Pierre-Hugues HUSSON 2019-12-22 15:32:51 +01:00 committed by GitHub
commit 18b20430fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,6 +179,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