cmsdk: Remove Wimax toggle

* This was specific to an ancient HTC implementation of Wimax and
   is no longer a thing. Feel free to revert if someone brings
   up Crespo4g :)

Change-Id: I64b50f8e6df443108ae84a96303ba7802cbed653
This commit is contained in:
Steve Kondik
2016-08-29 00:52:32 -07:00
parent 98a1f6101f
commit 5501335568

View File

@@ -22,7 +22,6 @@ import android.content.Context;
import android.content.Intent;
import android.location.LocationManager;
import android.net.wifi.WifiManager;
import android.net.wimax.WimaxHelper;
import android.nfc.NfcAdapter;
import android.os.Parcel;
import android.os.Parcelable;
@@ -88,6 +87,7 @@ public final class ConnectionSettings implements Parcelable {
* The {@link #PROFILE_CONNECTION_WIMAX} allows for enabling and disabling the WIMAX radio (if exists)
* on the device. Boolean connection settings {@link BooleanState}
*/
@Deprecated
public static final int PROFILE_CONNECTION_WIMAX = 3;
/**
@@ -353,14 +353,6 @@ public final class ConnectionSettings implements Parcelable {
wm.setWifiApEnabled(null, forcedState);
}
break;
case PROFILE_CONNECTION_WIMAX:
if (WimaxHelper.isWimaxSupported(context)) {
currentState = WimaxHelper.isWimaxEnabled(context);
if (currentState != forcedState) {
WimaxHelper.setWimaxEnabled(context, forcedState);
}
}
break;
case PROFILE_CONNECTION_NFC:
if (nfcAdapter != null) {
int adapterState = nfcAdapter.getAdapterState();