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

Commit 255d64e7 authored by Holly Jiuyu Sun's avatar Holly Jiuyu Sun Committed by Malcolm Chen
Browse files

Add EuiccManager#EXTRA_PHYSICAL_SLOT_ID to detect it's an operation for pSIM.

Platform needs to pass LPA the pSIM slotId so that LPA knows it's a
toggle action on pSIM.

Bug: 123945155
Test: build
Change-Id: Ie0db50e8ade4c6ce385ebfbfe7cf9e2982d67e34
Merged-In: Ie0db50e8ade4c6ce385ebfbfe7cf9e2982d67e34
parent 4d6ff228
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -320,6 +320,18 @@ public class EuiccManager {
    public static final String EXTRA_FROM_SUBSCRIPTION_ID =
            "android.telephony.euicc.extra.FROM_SUBSCRIPTION_ID";

    /**
     * Key for an extra set on privileged actions {@link #ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED}
     * providing the physical slot ID of the target slot.
     *
     * <p>Expected type of the extra data: int
     *
     * @hide
     */
    // TODO: Make this a @SystemApi.
    public static final String EXTRA_PHYSICAL_SLOT_ID =
            "android.telephony.euicc.extra.PHYSICAL_SLOT_ID";

    /**
     * Optional meta-data attribute for a carrier app providing an icon to use to represent the
     * carrier. If not provided, the app's launcher icon will be used as a fallback.