Merge "Wifi: Replace dual_band with 5GHz band support"

This commit is contained in:
Ahmed ElArabawy
2019-12-13 19:46:55 +00:00
committed by Android (Google) Code Review
2 changed files with 8 additions and 8 deletions

View File

@@ -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;