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

Commit ef079601 authored by John Wang's avatar John Wang Committed by Xavier Ducrohet
Browse files

Unhide NETWORK_TYPE_XXX. (do not merge)

Make NETWORK_TYPE_HSDPA etc. unhide in TelephonyManager.

(integrated from eclair)
parent 73ddd08e
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
@@ -111950,6 +111950,28 @@
 visibility="public"
>
</field>
<field name="NETWORK_TYPE_1xRTT"
 type="int"
 transient="false"
 volatile="false"
 value="7"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NETWORK_TYPE_CDMA"
 type="int"
 transient="false"
 volatile="false"
 value="4"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NETWORK_TYPE_EDGE"
 type="int"
 transient="false"
@@ -111961,6 +111983,28 @@
 visibility="public"
>
</field>
<field name="NETWORK_TYPE_EVDO_0"
 type="int"
 transient="false"
 volatile="false"
 value="5"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NETWORK_TYPE_EVDO_A"
 type="int"
 transient="false"
 volatile="false"
 value="6"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NETWORK_TYPE_GPRS"
 type="int"
 transient="false"
+2 −5
Original line number Diff line number Diff line
@@ -372,15 +372,12 @@ public class TelephonyManager {
    /** Current network is UMTS */
    public static final int NETWORK_TYPE_UMTS = 3;
    /** Current network is CDMA: Either IS95A or IS95B*/
    /** @hide */
    public static final int NETWORK_TYPE_CDMA = 4;
    /** Current network is EVDO revision 0 or revision A*/
    /** @hide */
    /** Current network is EVDO revision 0*/
    public static final int NETWORK_TYPE_EVDO_0 = 5;
    /** @hide */
    /** Current network is EVDO revision A*/
    public static final int NETWORK_TYPE_EVDO_A = 6;
    /** Current network is 1xRTT*/
    /** @hide */
    public static final int NETWORK_TYPE_1xRTT = 7;

    /**