summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorUma Maheswari Ramalingam <umam@codeaurora.org>2012-07-10 14:55:39 -0700
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-11-27 16:45:18 -0800
commit9e1abcd5ae9a8daaaeabcbce1b3994a4e7f7dcf1 (patch)
tree559ef6f217e2ce562964aaaaea952513451592d3 /telephony
parent4ffba372f9a0472c489f27c166f0d1cb0233bc2a (diff)
downloadframeworks_base-9e1abcd5ae9a8daaaeabcbce1b3994a4e7f7dcf1.zip
frameworks_base-9e1abcd5ae9a8daaaeabcbce1b3994a4e7f7dcf1.tar.gz
frameworks_base-9e1abcd5ae9a8daaaeabcbce1b3994a4e7f7dcf1.tar.bz2
frameworks/base: Support for LTE network modes
Change-Id: I93c102f92ff2d10856d91108bb50fe5c0f06ad66
Diffstat (limited to 'telephony')
-rwxr-xr-xtelephony/java/android/telephony/TelephonyManager.java2
-rw-r--r--telephony/java/com/android/internal/telephony/RILConstants.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index 2fa41e7..1349dbc 100755
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -377,6 +377,8 @@ public class TelephonyManager {
case RILConstants.NETWORK_MODE_GSM_ONLY:
case RILConstants.NETWORK_MODE_WCDMA_ONLY:
case RILConstants.NETWORK_MODE_GSM_UMTS:
+ case RILConstants.NETWORK_MODE_LTE_GSM_WCDMA:
+ case RILConstants.NETWORK_MODE_LTE_WCDMA:
return PhoneConstants.PHONE_TYPE_GSM;
// Use CDMA Phone for the global mode including CDMA
diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java
index f501b21..077ad68 100644
--- a/telephony/java/com/android/internal/telephony/RILConstants.java
+++ b/telephony/java/com/android/internal/telephony/RILConstants.java
@@ -72,7 +72,7 @@ public interface RILConstants {
int NETWORK_MODE_LTE_GSM_WCDMA = 9; /* LTE, GSM/WCDMA */
int NETWORK_MODE_LTE_CMDA_EVDO_GSM_WCDMA = 10; /* LTE, CDMA, EvDo, GSM/WCDMA */
int NETWORK_MODE_LTE_ONLY = 11; /* LTE Only mode. */
-
+ int NETWORK_MODE_LTE_WCDMA = 12; /* LTE/WCDMA */
int PREFERRED_NETWORK_MODE = NETWORK_MODE_WCDMA_PREF;
int CDMA_CELL_BROADCAST_SMS_DISABLED = 1;