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:
@@ -91,7 +91,7 @@ public class WifiTetherMaximizeCompatibilityPreferenceController extends
|
|||||||
if (mWifiManager == null) {
|
if (mWifiManager == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!mWifiManager.is5GHzBandSupported() || mWifiManager.getCountryCode() == null) {
|
if (!mWifiManager.is5GHzBandSupported()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user