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

Commit 6c20eded authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Add null check for UiccSlot.

Test: none
Bug: 132967952
Merged-in: I16264e451682f8cc4b3bc15ca969f51c37f601f9
Change-Id: I16264e451682f8cc4b3bc15ca969f51c37f601f9
(cherry picked from commit 92f95180)
parent c1115357
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -722,6 +722,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();