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

Commit 4552cbed authored by Chen Xu's avatar Chen Xu Committed by Automerger Merge Worker
Browse files

Merge "Replacing SimPortInfo.portState enum with portActive flag" am: 2b03878a

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1886860

Change-Id: I9364a18715354aa04cfbea1efe5237edc0c9f810
parents 8e11895a 2b03878a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3767,7 +3767,7 @@ public class RILUtils {
            for (android.hardware.radio.config.SimSlotStatus slotStatus : halSlotStatusArray) {
                IccSlotStatus iccSlotStatus = new IccSlotStatus();
                iccSlotStatus.setCardState(slotStatus.cardState);
                iccSlotStatus.setSlotState(slotStatus.portInfo[0].portState);
                iccSlotStatus.setSlotState(slotStatus.portInfo[0].portActive ? 1 : 0);
                iccSlotStatus.logicalSlotIndex = slotStatus.portInfo[0].logicalSlotId;
                iccSlotStatus.atr = slotStatus.atr;
                iccSlotStatus.iccid = slotStatus.portInfo[0].iccId;