Add user handle in SimInfo database.

Bug: 247166170
Test: Basic testing,
       atest com.android.providers.telephony.TelephonyDatabaseHelperTest,
       atest com.android.providers.telephony.TelephonyProviderTest
Change-Id: I899a9ecb93f6f972aa12233fe4380e6d05405791
This commit is contained in:
Aishwarya Mallampati
2022-09-20 22:51:48 +00:00
parent eb803fd53e
commit 747cef74d3
2 changed files with 14 additions and 0 deletions

View File

@@ -4820,5 +4820,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

@@ -1071,6 +1071,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_"},