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:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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_"},
|
||||
|
||||
Reference in New Issue
Block a user