From 255d64e7a636165da12b44532e14c84401cb5705 Mon Sep 17 00:00:00 2001 From: Holly Jiuyu Sun Date: Mon, 15 Apr 2019 14:04:12 -0700 Subject: [PATCH] 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 --- telephony/java/android/telephony/euicc/EuiccManager.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/telephony/java/android/telephony/euicc/EuiccManager.java b/telephony/java/android/telephony/euicc/EuiccManager.java index f1a5778b2281..ee287d59b607 100644 --- a/telephony/java/android/telephony/euicc/EuiccManager.java +++ b/telephony/java/android/telephony/euicc/EuiccManager.java @@ -321,6 +321,18 @@ public class EuiccManager { "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. + * + *

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. */ -- 2.11.0