night mode is slow on mt6580 as well

This commit is contained in:
Pierre-Hugues Husson 2018-07-02 00:22:27 +02:00
parent 3711fd50e8
commit 361aedfd20

View File

@ -71,10 +71,10 @@ if [ "$(getprop ro.vendor.product.device)" == "OnePlus6" ];then
resize2fs /dev/block/platform/soc/1d84000.ufshc/by-name/userdata resize2fs /dev/block/platform/soc/1d84000.ufshc/by-name/userdata
fi fi
if getprop ro.vendor.build.fingerprint |grep full_k50v1_64;then if getprop ro.vendor.build.fingerprint |grep -q full_k50v1_64 || getprop ro.hardware |grep -q mt6580 ;then
setprop persist.sys.overlay.nightmode false setprop persist.sys.overlay.nightmode false
fi fi
if getprop ro.wlan.mtk.wifi.5g |grep -qF 1;then if getprop ro.wlan.mtk.wifi.5g |grep -q 1;then
setprop persist.sys.overlay.wifi5g true setprop persist.sys.overlay.wifi5g true
fi fi