summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Bosc <matthias.bosc@gmail.com>2013-04-10 16:23:55 +0200
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-04-13 05:58:46 -0700
commitbfdfa12266a3f3ddbc0415a84fd0922c3c681b1f (patch)
treeed339ebba4caa0c58f5b54e59dfd5baff9d8f8cd
parenteacffc5bdc6d94083af93c82bf2c539a1a86fd9b (diff)
downloadframeworks_opt_telephony-bfdfa12266a3f3ddbc0415a84fd0922c3c681b1f.zip
frameworks_opt_telephony-bfdfa12266a3f3ddbc0415a84fd0922c3c681b1f.tar.gz
frameworks_opt_telephony-bfdfa12266a3f3ddbc0415a84fd0922c3c681b1f.tar.bz2
RIL.java - add DCHSPAP
Change-Id: I27e8db7e710c2e2daed0a3db6849bd4f3b230445
-rw-r--r--src/java/com/android/internal/telephony/RIL.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/android/internal/telephony/RIL.java b/src/java/com/android/internal/telephony/RIL.java
index 9431b5a..c9c8c11 100644
--- a/src/java/com/android/internal/telephony/RIL.java
+++ b/src/java/com/android/internal/telephony/RIL.java
@@ -25,6 +25,7 @@ import static android.telephony.TelephonyManager.NETWORK_TYPE_HSDPA;
import static android.telephony.TelephonyManager.NETWORK_TYPE_HSUPA;
import static android.telephony.TelephonyManager.NETWORK_TYPE_HSPA;
import static android.telephony.TelephonyManager.NETWORK_TYPE_HSPAP;
+import static android.telephony.TelephonyManager.NETWORK_TYPE_DCHSPAP;
import android.content.BroadcastReceiver;
import android.content.Context;
@@ -3413,6 +3414,8 @@ public class RIL extends BaseCommands implements CommandsInterface {
radioType = NETWORK_TYPE_HSPA;
} else if (radioString.equals("HSPAP")) {
radioType = NETWORK_TYPE_HSPAP;
+ } else if (radioString.equals("DCHSPAP")) {
+ radioType = NETWORK_TYPE_DCHSPAP;
} else {
radioType = NETWORK_TYPE_UNKNOWN;
}