Loading src/java/com/android/internal/telephony/PhoneProxy.java +2 −5 Original line number Diff line number Diff line Loading @@ -54,8 +54,6 @@ public class PhoneProxy extends Handler implements Phone { private boolean mResetModemOnRadioTechnologyChange = false; private int mRilVersion; private boolean mRilV7NeedsCDMALTEPhone = SystemProperties.getBoolean( "telephony.rilV7NeedCDMALTEPhone", false); private static final int EVENT_VOICE_RADIO_TECH_CHANGED = 1; private static final int EVENT_RADIO_ON = 2; Loading Loading @@ -143,10 +141,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) || mRilV7NeedsCDMALTEPhone) { 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. Handle instance * where device may be global phone, reporting as cdma device. Don't update * voice tech in that scenario. Loading Loading
src/java/com/android/internal/telephony/PhoneProxy.java +2 −5 Original line number Diff line number Diff line Loading @@ -54,8 +54,6 @@ public class PhoneProxy extends Handler implements Phone { private boolean mResetModemOnRadioTechnologyChange = false; private int mRilVersion; private boolean mRilV7NeedsCDMALTEPhone = SystemProperties.getBoolean( "telephony.rilV7NeedCDMALTEPhone", false); private static final int EVENT_VOICE_RADIO_TECH_CHANGED = 1; private static final int EVENT_RADIO_ON = 2; Loading Loading @@ -143,10 +141,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) || mRilV7NeedsCDMALTEPhone) { 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. Handle instance * where device may be global phone, reporting as cdma device. Don't update * voice tech in that scenario. Loading