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

Commit 08854aab authored by Etan Cohen's avatar Etan Cohen
Browse files

Use overlay to determine phone type when Voice RAT is UNKNOWN.

Current code used overlay when Voice RAT was ambiguous (LTE). Adding
UKNOWN as another condition to use overlay rather than default GSM.

Bug: 16962905
Change-Id: I2b55749a632eab8c00dd7b2c8a0df7b4152f71b6
parent eda3c479
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -160,7 +160,8 @@ public class PhoneProxy extends Handler implements Phone {

        if (mActivePhone != null) {
            // Check for a voice over lte replacement
            if ((newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_LTE)) {
            if ((newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_LTE) ||
                    (newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN)) {
                int volteReplacementRat = mActivePhone.getContext().getResources().getInteger(
                        com.android.internal.R.integer.config_volte_replacement_rat);
                logd("phoneObjectUpdater: volteReplacementRat=" + volteReplacementRat);