Migrate WifiManager.isDualModeSupported() to isStaApConcurrencySupported()
isDualModeSupported is being removed, replace it with isStaApConcurrencySupported. Bug: 144925765 Test: compiles Change-Id: Ia3a0417a154ea401579a039113e96ba4578ffd80
This commit is contained in:
@@ -40,7 +40,7 @@ public class WifiTetherApBandPreferenceController extends WifiTetherBasePreferen
|
||||
public WifiTetherApBandPreferenceController(Context context,
|
||||
OnTetherConfigUpdateListener listener) {
|
||||
super(context, listener);
|
||||
isDualMode = mWifiManager.isDualModeSupported();
|
||||
isDualMode = mWifiManager.isStaApConcurrencySupported();
|
||||
updatePreferenceEntries();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user