summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordhacker29 <davidhackerdvm@gmail.com>2012-11-06 17:03:52 -0600
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2013-01-26 22:01:04 -0800
commit5343f09644650fae7708337eb55788f3d20aabb0 (patch)
tree3b46bf06d688ae9e3913ba1dd269f1a6ae9e58f2 /src
parentb929c2c7caa559c1c277e3b2782df3b89fb4891d (diff)
downloadframeworks_opt_telephony-5343f09644650fae7708337eb55788f3d20aabb0.zip
frameworks_opt_telephony-5343f09644650fae7708337eb55788f3d20aabb0.tar.gz
frameworks_opt_telephony-5343f09644650fae7708337eb55788f3d20aabb0.tar.bz2
PhoneProxy: On v6 or greater RIL, when LTE_ON_CDMA is TRUE,
always create CDMALTEPhone, irrespective of the voice radio tech reported. Newer phones now have v7 RIL which need this to be true also also for data connection to initiate. Change-Id: I2825aa53c1525b71d7551a7b2ceff7c3931cc344 Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/java/com/android/internal/telephony/PhoneProxy.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/android/internal/telephony/PhoneProxy.java b/src/java/com/android/internal/telephony/PhoneProxy.java
index 620fcc5..cbf2929 100644
--- a/src/java/com/android/internal/telephony/PhoneProxy.java
+++ b/src/java/com/android/internal/telephony/PhoneProxy.java
@@ -145,9 +145,9 @@ public class PhoneProxy extends Handler implements Phone {
private void updatePhoneObject(int newVoiceRadioTech) {
if (mActivePhone != null) {
- if(mRilVersion == 6 && getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) {
+ if(mRilVersion >= 6 && getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) {
/*
- * On v6 RIL, when LTE_ON_CDMA is TRUE, always create CDMALTEPhone
+ * On v6 or greater RIL, when LTE_ON_CDMA is TRUE, always create CDMALTEPhone
* irrespective of the voice radio tech reported.
*/
if (mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {