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

Commit 03992b38 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Jack Yu
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
Merged-In: I899a9ecb93f6f972aa12233fe4380e6d05405791
Change-Id: I899a9ecb93f6f972aa12233fe4380e6d05405791
parent 3aee49a5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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";
    }
}
+7 −0
Original line number Diff line number Diff line
@@ -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_"},