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

Commit 5d584276 authored by Jordan Liu's avatar Jordan Liu
Browse files

Add mDefaultEuiccCardId logging to locallog

This only prints once per boot and is useful for debugging.

Bug: 129779125
Test: no change to behavior
Change-Id: Idacd8ba5929e22ade86cd4e84030559cdaff9699
parent 26381815
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -839,8 +839,10 @@ public class UiccController extends Handler {
                    isDefaultEuiccCardIdSet = true;
                    // TODO(b/122738148) the default eUICC should not be removable
                    mDefaultEuiccCardId = convertToPublicCardId(eid);
                    log("Using eid=" + eid + " in slot=" + i + " to set mDefaultEuiccCardId="
                            + mDefaultEuiccCardId);
                    String logStr = "Using eid=" + eid + " in slot=" + i
                            + " to set mDefaultEuiccCardId=" + mDefaultEuiccCardId;
                    sLocalLog.log(logStr);
                    log(logStr);
                }
            }
        }
@@ -978,8 +980,10 @@ public class UiccController extends Handler {
                || mDefaultEuiccCardId == TEMPORARILY_UNSUPPORTED_CARD_ID) {
            // TODO(b/122738148) the default eUICC should not be removable
            mDefaultEuiccCardId = convertToPublicCardId(eid);
            log("onEidReady: eid=" + eid + " slot=" + slotId + " mDefaultEuiccCardId="
                    + mDefaultEuiccCardId);
            String logStr = "onEidReady: eid=" + eid + " slot=" + slotId + " mDefaultEuiccCardId="
                    + mDefaultEuiccCardId;
            sLocalLog.log(logStr);
            log(logStr);
        }
        ((EuiccCard) card).unregisterForEidReady(this);
    }