Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 747cef74 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

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
parent eb803fd5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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";
    }
}
+7 −0
Original line number Diff line number Diff line
@@ -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_"},