[MEP] Add port index in SubscriptionInfo database am: 286db29cf7 am: e5b13b5e5b

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2046489

Change-Id: I591273f9707eed6d50c0e05496cfb4a2bb08be5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Muralidhar Reddy
2022-03-28 20:43:01 +00:00
committed by Automerger Merge Worker
3 changed files with 17 additions and 0 deletions

View File

@@ -5309,6 +5309,13 @@ public final class Telephony {
*/
public static final String COLUMN_PROFILE_CLASS = "profile_class";
/**
* TelephonyProvider column name for the port index of the active UICC port.
* <P>Type: INTEGER (int)</P>
* @hide
*/
public static final String COLUMN_PORT_INDEX = "port_index";
/**
* A testing profile can be pre-loaded or downloaded onto
* the eUICC and provides connectivity to test equipment

View File

@@ -940,6 +940,13 @@ public class SubscriptionManager {
*/
public static final String PROFILE_CLASS = SimInfo.COLUMN_PROFILE_CLASS;
/**
* TelephonyProvider column name for the port index of the active UICC port.
* <P>Type: INTEGER (int)</P>
* @hide
*/
public static final String PORT_INDEX = SimInfo.COLUMN_PORT_INDEX;
/**
* TelephonyProvider column name for VoIMS opt-in status.
*

View File

@@ -327,6 +327,9 @@ public class TelephonyManager {
*/
public static final int DEFAULT_PORT_INDEX = 0;
/** @hide */
public static final int INVALID_PORT_INDEX = -1;
private final Context mContext;
private final int mSubId;
@UnsupportedAppUsage