Detect Wifi 5G on MTK

This commit is contained in:
Pierre-Hugues Husson 2018-07-01 23:06:11 +02:00
parent 18fb7ed72f
commit 3711fd50e8
1 changed files with 4 additions and 0 deletions

View File

@ -74,3 +74,7 @@ fi
if getprop ro.vendor.build.fingerprint |grep full_k50v1_64;then
setprop persist.sys.overlay.nightmode false
fi
if getprop ro.wlan.mtk.wifi.5g |grep -qF 1;then
setprop persist.sys.overlay.wifi5g true
fi