Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8214deb5 authored by jsh's avatar jsh
Browse files

Add definitions for WiMAX and iDen network types.

b/2509185

Change-Id: Icf07ce857874e200712218713edbdbb47e646297
parent 4f096dcf
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -87668,6 +87668,17 @@
 visibility="public"
>
</field>
<field name="TYPE_WIMAX"
 type="int"
 transient="false"
 volatile="false"
 value="6"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
</class>
<class name="Credentials"
 extends="java.lang.Object"
@@ -143010,6 +143021,17 @@
 visibility="public"
>
</field>
<field name="NETWORK_TYPE_IDEN"
 type="int"
 transient="false"
 volatile="false"
 value="11"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NETWORK_TYPE_UMTS"
 type="int"
 transient="false"
+8 −2
Original line number Diff line number Diff line
@@ -184,9 +184,15 @@ public class ConnectivityManager
     * will route over this interface if a default route exists.
     */
    public static final int TYPE_MOBILE_HIPRI = 5;
    /** {@hide} */
    /**
     * The Default WiMAX data connection.  When active, all data traffic
     * will use this connection by default.  Should not coexist with other
     * default connections.
     */
    public static final int TYPE_WIMAX       = 6;
    /** {@hide} TODO: Need to adjust this for WiMAX. */
    public static final int MAX_RADIO_TYPE   = TYPE_WIFI;
    /** {@hide} */
    /** {@hide} TODO: Need to adjust this for WiMAX. */
    public static final int MAX_NETWORK_TYPE = TYPE_MOBILE_HIPRI;

    public static final int DEFAULT_NETWORK_PREFERENCE = TYPE_WIFI;
+2 −0
Original line number Diff line number Diff line
@@ -389,6 +389,8 @@ public class TelephonyManager {
    public static final int NETWORK_TYPE_HSUPA = 9;
    /** Current network is HSPA */
    public static final int NETWORK_TYPE_HSPA = 10;
    /** Current network is iDen */
    public static final int NETWORK_TYPE_IDEN = 11;

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