WiFi: Remove country code checking.

Always allow 5gHz AP option

Edit: Only remove getCountryCode

Change-Id: I1205c7cec7715c1fac25eb29a311e347855f4d49
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
xyyx
2018-03-21 21:44:10 +08:00
committed by Joey
parent 7efe5c0c63
commit b04df88ac3

View File

@@ -91,7 +91,7 @@ public class WifiTetherMaximizeCompatibilityPreferenceController extends
if (mWifiManager == null) {
return false;
}
if (!mWifiManager.is5GHzBandSupported() || mWifiManager.getCountryCode() == null) {
if (!mWifiManager.is5GHzBandSupported()) {
return false;
}
return true;