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

Commit 3bebb7f3 authored by jinjeong's avatar jinjeong Committed by Jin Jeong
Browse files

New System API to launch SIM Preference in Setting

Bug: b/381319469
Test: Manual
FLAG: com.android.internal.telephony.flags.action_sim_preference_settings
Change-Id: I4d536acebf0e91bf5f1f9b3bbb39d93ed4d18c3d
parent 7269c57c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12615,6 +12615,7 @@ package android.provider {
    field public static final String ACTION_REQUEST_ENABLE_CONTENT_CAPTURE = "android.settings.REQUEST_ENABLE_CONTENT_CAPTURE";
    field public static final String ACTION_SHOW_ADMIN_SUPPORT_DETAILS = "android.settings.SHOW_ADMIN_SUPPORT_DETAILS";
    field public static final String ACTION_SHOW_RESTRICTED_SETTING_DIALOG = "android.settings.SHOW_RESTRICTED_SETTING_DIALOG";
    field @FlaggedApi("com.android.internal.telephony.flags.action_sim_preference_settings") public static final String ACTION_SIM_PREFERENCE_SETTINGS = "android.settings.SIM_PREFERENCE_SETTINGS";
    field public static final String ACTION_TETHER_PROVISIONING_UI = "android.settings.TETHER_PROVISIONING_UI";
    field public static final String ACTION_TETHER_SETTINGS = "android.settings.TETHER_SETTINGS";
    field public static final String ACTION_TETHER_UNSUPPORTED_CARRIER_UI = "android.settings.TETHER_UNSUPPORTED_CARRIER_UI";
+19 −0
Original line number Diff line number Diff line
@@ -2468,6 +2468,25 @@ public final class Settings {
    public static final String ACTION_APP_NOTIFICATION_BUBBLE_SETTINGS
            = "android.settings.APP_NOTIFICATION_BUBBLE_SETTINGS";
    /**
     * Activity Action: Show the settings for users to select their preferred SIM subscription
     * when a new SIM subscription has become available.
     * <p>
     * This Activity will only launch successfully if the newly active subscription ID is set as the
     * value of {@link EXTRA_SUB_ID} and the value corresponds with an active SIM subscription.
     * <p>
     * Input: {@link #EXTRA_SUB_ID}: the subscription ID of the newly active SIM subscription.
     * <p>
     * Output: Nothing.
     *
     * @hide
     */
    @FlaggedApi(com.android.internal.telephony.flags.Flags.FLAG_ACTION_SIM_PREFERENCE_SETTINGS)
    @SystemApi
    @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
    public static final String ACTION_SIM_PREFERENCE_SETTINGS =
            "android.settings.SIM_PREFERENCE_SETTINGS";
    /**
     * Intent Extra: The value of {@link android.app.settings.SettingsEnums#EntryPointType} for
     * settings metrics that logs the entry point about physical keyboard settings.