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

Commit c5334256 authored by Qingxi Li's avatar Qingxi Li
Browse files

Fix issue no SIM broadcast under pass through mode.

Under pass-through mode, we cannot open logical channel which causes
loading EID failed. In this case, we should set EID to empty and still
send SIM_STATE_CHANGED broadcast out.

Bug: 80207753
Test: E2E
Change-Id: Ie24b3a3041db94961c35b3c32c45076b06cdfe0b
parent b8ed5811
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -162,7 +162,12 @@ public class EuiccCard extends UiccCard {

            @Override
            public void onException(Throwable e) {
                // Not notifying registrants if getting eid fails.
                // Still notifying registrants even getting eid fails.
                if (mEidReadyRegistrants != null) {
                    mEidReadyRegistrants.notifyRegistrants(new AsyncResult(null, null, null));
                }
                mEid = "";
                mCardId = "";
                Rlog.e(LOG_TAG, "Failed loading eid", e);
            }
        };