From 5501335568acf921212239661fe2ef7f5034be94 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Mon, 29 Aug 2016 00:52:32 -0700 Subject: [PATCH] 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 --- .../java/cyanogenmod/profiles/ConnectionSettings.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/sdk/src/java/cyanogenmod/profiles/ConnectionSettings.java b/sdk/src/java/cyanogenmod/profiles/ConnectionSettings.java index 19954dd9..d55024b0 100644 --- a/sdk/src/java/cyanogenmod/profiles/ConnectionSettings.java +++ b/sdk/src/java/cyanogenmod/profiles/ConnectionSettings.java @@ -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();