Add user handle in SimInfo database.

Bug: 247166170
Test: Basic testing,
       atest com.android.providers.telephony.TelephonyDatabaseHelperTest,
       atest com.android.providers.telephony.TelephonyProviderTest
Merged-In: I899a9ecb93f6f972aa12233fe4380e6d05405791
Change-Id: I899a9ecb93f6f972aa12233fe4380e6d05405791
This commit is contained in:
Aishwarya Mallampati
2022-09-20 22:51:48 +00:00
committed by Jack Yu
parent 3aee49a593
commit 03992b38b4
2 changed files with 14 additions and 0 deletions

View File

@@ -4815,5 +4815,12 @@ public final class Telephony {
* @hide
*/
public static final String COLUMN_USAGE_SETTING = "usage_setting";
/**
* TelephonyProvider column name for user handle associated with this sim.
*
* @hide
*/
public static final String COLUMN_USER_HANDLE = "user_handle";
}
}

View File

@@ -1048,6 +1048,13 @@ public class SubscriptionManager {
public static final String ALLOWED_NETWORK_TYPES =
SimInfo.COLUMN_ALLOWED_NETWORK_TYPES_FOR_REASONS;
/**
* TelephonyProvider column name for user handle associated with a sim.
* <P>Type: INTEGER (int)</P>
* @hide
*/
public static final String USER_HANDLE = SimInfo.COLUMN_USER_HANDLE;
/** @hide */
@Retention(RetentionPolicy.SOURCE)
@IntDef(prefix = {"USAGE_SETTING_"},