summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-03-16 00:35:47 +0000
committercodeworkx <codeworkx@cyanogenmod.org>2013-03-16 13:11:19 +0000
commit23e043aca9ae7be5057b537f7590e1523c65b7ff (patch)
treea8ae04a212fcf4e257b635cc9ef7fc0dc7860679 /telephony
parent23fb4d3e405da2fee4e006a5e94d04bdadcaff88 (diff)
downloadframeworks_base-23e043aca9ae7be5057b537f7590e1523c65b7ff.zip
frameworks_base-23e043aca9ae7be5057b537f7590e1523c65b7ff.tar.gz
frameworks_base-23e043aca9ae7be5057b537f7590e1523c65b7ff.tar.bz2
ServiceState: add support for DCHSPAP
Change-Id: Ib0a328652c14580718400b00146b770481be5458
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/ServiceState.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java
index a9a5e90..2fc8414 100644
--- a/telephony/java/android/telephony/ServiceState.java
+++ b/telephony/java/android/telephony/ServiceState.java
@@ -100,6 +100,8 @@ public class ServiceState implements Parcelable {
public static final int RIL_RADIO_TECHNOLOGY_LTE = 14;
/** @hide */
public static final int RIL_RADIO_TECHNOLOGY_HSPAP = 15;
+ /** @hide */
+ public static final int RIL_RADIO_TECHNOLOGY_DCHSPAP = 30;
/**
* GSM radio technology only supports voice. It does not support data.
* @hide
@@ -453,6 +455,7 @@ public class ServiceState implements Parcelable {
rtString = "LTE";
break;
case RIL_RADIO_TECHNOLOGY_HSPAP:
+ case RIL_RADIO_TECHNOLOGY_DCHSPAP:
rtString = "HSPAP";
break;
case RIL_RADIO_TECHNOLOGY_GSM:
@@ -686,6 +689,7 @@ public class ServiceState implements Parcelable {
case ServiceState.RIL_RADIO_TECHNOLOGY_LTE:
return TelephonyManager.NETWORK_TYPE_LTE;
case ServiceState.RIL_RADIO_TECHNOLOGY_HSPAP:
+ case ServiceState.RIL_RADIO_TECHNOLOGY_DCHSPAP:
return TelephonyManager.NETWORK_TYPE_HSPAP;
default:
return TelephonyManager.NETWORK_TYPE_UNKNOWN;
@@ -717,6 +721,7 @@ public class ServiceState implements Parcelable {
|| radioTechnology == RIL_RADIO_TECHNOLOGY_HSPA
|| radioTechnology == RIL_RADIO_TECHNOLOGY_LTE
|| radioTechnology == RIL_RADIO_TECHNOLOGY_HSPAP
+ || radioTechnology == RIL_RADIO_TECHNOLOGY_DCHSPAP
|| radioTechnology == RIL_RADIO_TECHNOLOGY_GSM;
}