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

Commit 61831197 authored by Pengquan Meng's avatar Pengquan Meng
Browse files

Fixed crash issue of SubscriptionInfoUpdater

Bug: 121380205
Test: build & manually test
Change-Id: I716d89e4a5d74fbc32882bb986de34f762e76a71
parent ccd98d06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -706,7 +706,7 @@ public class SubscriptionInfoUpdater extends Handler {
        UiccSlot[] uiccSlots = uiccController.getUiccSlots();
        if (uiccSlots != null) {
            Arrays.stream(uiccSlots)
                .filter(uiccSlot -> uiccSlot.isEuicc())
                .filter(uiccSlot -> uiccSlot.isEuicc() && uiccSlot.getUiccCard() != null)
                .map(uiccSlot -> uiccController.convertToPublicCardId(
                            uiccSlot.getUiccCard().getCardId()))
                .forEach(cardId -> updateEmbeddedSubscriptions(cardId));