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

This commit is contained in:
Xiangyu/Malcolm Chen
2019-05-01 20:49:16 +00:00
committed by Gerrit Code Review

View File

@@ -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.