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

Commit d040f2d7 authored by chen xu's avatar chen xu
Browse files

new Systeam API for CarrierConfig#KEY_CARRIER_SETUP_APP_STRING

SuW will consume this config and launches a carrier app to setup the
device or provision the SIM.

Bug: 119229895
Test: telephony unit test
Change-Id: Ibc3cc9913c20fd367f83854765a8aea378bb6622
parent c0dd0d66
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5088,6 +5088,7 @@ package android.telephony {
    method public static android.os.PersistableBundle getDefaultConfig();
    method public void overrideConfig(int, android.os.PersistableBundle);
    method public void updateConfigForPhoneId(int, java.lang.String);
    field public static final java.lang.String KEY_CARRIER_SETUP_APP_STRING = "carrier_setup_app_string";
    field public static final java.lang.String KEY_CONFIG_PLANS_PACKAGE_OVERRIDE_STRING = "config_plans_package_override_string";
  }

+5 −10
Original line number Diff line number Diff line
@@ -1329,18 +1329,13 @@ public class CarrierConfigManager {
    public static final String KEY_MMS_CLOSE_CONNECTION_BOOL = "mmsCloseConnection";

    /**
     * If carriers require differentiate un-provisioned status: cold sim or out of credit sim
     * a package name and activity name can be provided to launch a supported carrier application
     * that check the sim provisioning status
     * The first element is the package name and the second element is the activity name
     * of the provisioning app
     * example:
     * <item>com.google.android.carrierPackageName</item>
     * <item>com.google.android.carrierPackageName.CarrierActivityName</item>
     * The ComponentName of the carrier activity that can setup the device and activate with the
     * network as part of the Setup Wizard flow.
     * The flatten {@link android.content.ComponentName componentName} of the activity that can
     * setup the device and activate with the network per carrier requirements.
     *
     * e.g, com.google.android.carrierPackageName/.CarrierActivityName
     * @hide
     */
    @SystemApi
    public static final String KEY_CARRIER_SETUP_APP_STRING = "carrier_setup_app_string";

    /**