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

Commit 46ae068b authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8076550 from 84fd9813 to sc-v2-release

Change-Id: I8380d3f94913ac6af624c59c628e52c6ce340375
parents 163c38de 84fd9813
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4719,6 +4719,13 @@ public class GsmCdmaPhone extends Phone {
    }

    private void updateVoNrSettings(PersistableBundle config) {
        UiccSlot slot = mUiccController.getUiccSlotForPhone(mPhoneId);

        // If no card is present, do nothing.
        if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT) {
            return;
        }

        if (config == null) {
            loge("didn't get the vonr_enabled_bool from the carrier config.");
            return;