Merge "Add some network types that OEM's are asking for." into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
6b739dc729
@@ -209,6 +209,15 @@ public class ConnectivityManager
|
|||||||
* default connections.
|
* default connections.
|
||||||
*/
|
*/
|
||||||
public static final int TYPE_WIMAX = 6;
|
public static final int TYPE_WIMAX = 6;
|
||||||
|
/**
|
||||||
|
* Bluetooth data connection.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final int TYPE_BLUETOOTH = 7;
|
||||||
|
/** {@hide} */
|
||||||
|
public static final int TYPE_DUMMY = 8;
|
||||||
|
/** {@hide} */
|
||||||
|
public static final int TYPE_ETHERNET = 9;
|
||||||
/** {@hide} TODO: Need to adjust this for WiMAX. */
|
/** {@hide} TODO: Need to adjust this for WiMAX. */
|
||||||
public static final int MAX_RADIO_TYPE = TYPE_WIFI;
|
public static final int MAX_RADIO_TYPE = TYPE_WIFI;
|
||||||
/** {@hide} TODO: Need to adjust this for WiMAX. */
|
/** {@hide} TODO: Need to adjust this for WiMAX. */
|
||||||
|
|||||||
@@ -393,7 +393,10 @@ public class TelephonyManager {
|
|||||||
public static final int NETWORK_TYPE_IDEN = 11;
|
public static final int NETWORK_TYPE_IDEN = 11;
|
||||||
/** Current network is EVDO revision B*/
|
/** Current network is EVDO revision B*/
|
||||||
public static final int NETWORK_TYPE_EVDO_B = 12;
|
public static final int NETWORK_TYPE_EVDO_B = 12;
|
||||||
|
/** @hide */
|
||||||
|
public static final int NETWORK_TYPE_LTE = 13;
|
||||||
|
/** @hide */
|
||||||
|
public static final int NETWORK_TYPE_EHRPD = 14;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a constant indicating the radio technology (network type)
|
* Returns a constant indicating the radio technology (network type)
|
||||||
|
|||||||
Reference in New Issue
Block a user