Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c95ebf6 authored by dhacker29's avatar dhacker29 Committed by Gerrit Code Review
Browse files

PhoneProxy: On v6 or greater RIL, when LTE_ON_CDMA is TRUE,



always create CDMALTEPhone. Newer phones now have v7 RIL
which needs this to be true also.

Change-Id: Ic69f33a166067a2f77fc48446a361f40ac41e734
Signed-off-by: default avatardhacker29 <davidhackerdvm@gmail.com>
parent 7cef0fb0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -135,9 +135,9 @@ public class PhoneProxy extends Handler implements Phone {
    private void updatePhoneObject(int newVoiceRadioTech) {

        if (mActivePhone != null) {
            if(mRilVersion == 6 && getLteOnCdmaMode() == Phone.LTE_ON_CDMA_TRUE) {
            if(mRilVersion >= 6 && getLteOnCdmaMode() == Phone.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() == PHONE_TYPE_CDMA) {