summaryrefslogtreecommitdiffstats
path: root/telephony/java/android
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-06-07 13:12:29 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-06-07 13:12:29 -0700
commite139167c9109aee203f5fbbdeeab656994d9c9ac (patch)
treeeffd4f9d77b8b3b1d44abb1a37d2b9351976727f /telephony/java/android
parenta7d01a75190abbb4b3f47d15c86421bd19c11fc2 (diff)
parent5df69fad6e5021d2862bff0553a510f8d6729fbd (diff)
downloadframeworks_base-e139167c9109aee203f5fbbdeeab656994d9c9ac.zip
frameworks_base-e139167c9109aee203f5fbbdeeab656994d9c9ac.tar.gz
frameworks_base-e139167c9109aee203f5fbbdeeab656994d9c9ac.tar.bz2
am 5df69fad: resolved conflicts for merge of 8de47a2f to honeycomb-LTE
* commit '5df69fad6e5021d2862bff0553a510f8d6729fbd': Reveal some network constants.
Diffstat (limited to 'telephony/java/android')
-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 8732e21..acbf08b 100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -426,8 +426,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;
/**
@@ -450,6 +449,7 @@ public class TelephonyManager {
* @see #NETWORK_TYPE_IDEN
* @see #NETWORK_TYPE_LTE
* @see #NETWORK_TYPE_EHRPD
+ * @see #NETWORK_TYPE_HSPAP
*/
public int getNetworkType() {
try{
@@ -506,6 +506,8 @@ public class TelephonyManager {
return "CDMA - eHRPD";
case NETWORK_TYPE_IDEN:
return "iDEN";
+ case NETWORK_TYPE_HSPAP:
+ return "HSPA+";
default:
return "UNKNOWN";
}