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

Commit 2bfc8554 authored by Jordan Liu's avatar Jordan Liu
Browse files

Update comments to reflect correct HAL version

The RadioConfig HAL was slid back so that the EID is only known in
Slot/CardStatus at 1.2 and later.

Bug: 123358052
Test: no behavior change
Change-Id: Ie8cfd85bea2c6d6a1d019af405ef32271b148ade
parent 6f319694
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -243,7 +243,7 @@ public class UiccProfile extends IccCard {
        }

        if (mUiccCard instanceof EuiccCard) {
            // for RadioConfig<1.1 eid is not known when the EuiccCard is constructed
            // for RadioConfig<1.2 eid is not known when the EuiccCard is constructed
            ((EuiccCard) mUiccCard).registerForEidReady(mHandler, EVENT_EID_READY, null);
        }

@@ -460,7 +460,7 @@ public class UiccProfile extends IccCard {
        }

        if (mUiccCard instanceof EuiccCard && ((EuiccCard) mUiccCard).getEid() == null) {
            // for RadioConfig<1.1 the EID is not known when the EuiccCard is constructed
            // for RadioConfig<1.2 the EID is not known when the EuiccCard is constructed
            if (DBG) log("EID is not ready yet.");
            return;
        }
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ public class EuiccCard extends UiccCard {
        }
    }

    // For RadioConfig<1.1 we don't know the EID when constructing the EuiccCard, so callers may
    // For RadioConfig<1.2 we don't know the EID when constructing the EuiccCard, so callers may
    // need to register to be notified when we have the EID
    @VisibleForTesting(visibility = VisibleForTesting.Visibility.PRIVATE)
    protected void loadEidAndNotifyRegistrants() {