Skip to content

Commit 6b739dc

Browse files
Robert GreenwaltAndroid (Google) Code Review
authored andcommitted
Merge "Add some network types that OEM's are asking for." into gingerbread
2 parents 5f2def8 + e12aec9 commit 6b739dc

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

core/java/android/net/ConnectivityManager.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,15 @@ public class ConnectivityManager
209209
* default connections.
210210
*/
211211
public static final int TYPE_WIMAX = 6;
212+
/**
213+
* Bluetooth data connection.
214+
* @hide
215+
*/
216+
public static final int TYPE_BLUETOOTH = 7;
217+
/** {@hide} */
218+
public static final int TYPE_DUMMY = 8;
219+
/** {@hide} */
220+
public static final int TYPE_ETHERNET = 9;
212221
/** {@hide} TODO: Need to adjust this for WiMAX. */
213222
public static final int MAX_RADIO_TYPE = TYPE_WIFI;
214223
/** {@hide} TODO: Need to adjust this for WiMAX. */

telephony/java/android/telephony/TelephonyManager.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,10 @@ public String getNetworkCountryIso() {
393393
public static final int NETWORK_TYPE_IDEN = 11;
394394
/** Current network is EVDO revision B*/
395395
public static final int NETWORK_TYPE_EVDO_B = 12;
396-
396+
/** @hide */
397+
public static final int NETWORK_TYPE_LTE = 13;
398+
/** @hide */
399+
public static final int NETWORK_TYPE_EHRPD = 14;
397400

398401
/**
399402
* Returns a constant indicating the radio technology (network type)

0 commit comments

Comments
 (0)