summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Bosc <matthias.bosc@gmail.com>2013-04-23 19:39:55 +0200
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-05-19 10:22:44 -0700
commit757cd6996465b8e88d3f6502dac52556e23354a7 (patch)
tree73543227c3f35d80f8f22314530ff50eb10cf238
parent4bacfdff1917e68474db00693ba1eee695a463c3 (diff)
downloadframeworks_opt_telephony-757cd6996465b8e88d3f6502dac52556e23354a7.zip
frameworks_opt_telephony-757cd6996465b8e88d3f6502dac52556e23354a7.tar.gz
frameworks_opt_telephony-757cd6996465b8e88d3f6502dac52556e23354a7.tar.bz2
frameworks telephony - add DCHSPAP value
Change-Id: Ic68579da84f25be0a824d7632ce9632b9ae66944 Depends on: http://review.cyanogenmod.org/#/c/35439/
-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;
}