Merge "Wifi: Replace dual_band with 5GHz band support"
This commit is contained in:
committed by
Android (Google) Code Review
commit
a53e186d50
@@ -129,7 +129,7 @@ public class WifiTetherApBandPreferenceController extends WifiTetherBasePreferen
|
||||
|
||||
private boolean is5GhzBandSupported() {
|
||||
final String countryCode = mWifiManager.getCountryCode();
|
||||
if (!mWifiManager.isDualBandSupported() || countryCode == null) {
|
||||
if (!mWifiManager.is5GHzBandSupported() || countryCode == null) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user