summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-05-27 11:29:13 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2011-05-31 12:06:08 -0700
commit97ab2d4f86ee9c2b661a00688e934fc7030df22e (patch)
treee53c13809f23bff012597319eb8c8f0a0ecb258d /telephony
parent4686fb8ac8c88eb1f0d76fc4157be4cb5949e98e (diff)
downloadframeworks_base-97ab2d4f86ee9c2b661a00688e934fc7030df22e.zip
frameworks_base-97ab2d4f86ee9c2b661a00688e934fc7030df22e.tar.gz
frameworks_base-97ab2d4f86ee9c2b661a00688e934fc7030df22e.tar.bz2
Reveal some network constants.
Since we've already decided to inc the sdk version we should try to get these in too. bug:4500218 Change-Id: I6dcb401bf30f1b06f02be0a93681a190d7ee5775
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/TelephonyManager.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index 23b67e3..5a417b3 100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -427,8 +427,7 @@ public class TelephonyManager {
public static final int NETWORK_TYPE_LTE = 13;
/** Current network is eHRPD */
public static final int NETWORK_TYPE_EHRPD = 14;
- /** Current network is HSPA+
- * @hide */
+ /** Current network is HSPA+ */
public static final int NETWORK_TYPE_HSPAP = 15;
/**
@@ -451,6 +450,7 @@ public class TelephonyManager {
* @see #NETWORK_TYPE_IDEN
* @see #NETWORK_TYPE_LTE
* @see #NETWORK_TYPE_EHRPD
+ * @see #NETWORK_TYPE_HSPAP
*/
public int getNetworkType() {
try{
@@ -507,6 +507,8 @@ public class TelephonyManager {
return "CDMA - eHRPD";
case NETWORK_TYPE_IDEN:
return "iDEN";
+ case NETWORK_TYPE_HSPAP:
+ return "HSPA+";
default:
return "UNKNOWN";
}