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

Commit 92f95180 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Add null check for UiccSlot.

Test: none
Bug: 132967952
Change-Id: I16264e451682f8cc4b3bc15ca969f51c37f601f9
parent 37c605ac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -717,6 +717,7 @@ public class UiccController extends Handler {
        ArrayList<UiccCardInfo> infos = new ArrayList<>();
        for (int slotIndex = 0; slotIndex < mUiccSlots.length; slotIndex++) {
            final UiccSlot slot = mUiccSlots[slotIndex];
            if (slot == null) continue;
            boolean isEuicc = slot.isEuicc();
            String eid = null;
            UiccCard card = slot.getUiccCard();