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

Commit c84d533a authored by sandeepjs's avatar sandeepjs
Browse files

Replacing SimPortInfo.portState enum with portActive flag

Test: build
Bug: 205666689
Change-Id: Ib7fce82089745a46aa88d9c1d4c28370b16d29b2
parent eaa057ff
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;