diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index 9d734f931d2ad..af15c0a829a59 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -674,6 +674,21 @@ public class CarrierConfigManager { public static final String KEY_MMS_UA_PROF_URL_STRING = "uaProfUrl"; public static final String KEY_MMS_USER_AGENT_STRING = "userAgent"; + /** + * 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: + * com.google.android.carrierPackageName + * com.google.android.carrierPackageName.CarrierActivityName + * The ComponentName of the carrier activity that can setup the device and activate with the + * network as part of the Setup Wizard flow. + * @hide + */ + public static final String KEY_CARRIER_SETUP_APP_STRING = "carrier_setup_app_string"; + /** * A list of component name of carrier signalling receivers which are interested in intent * android.intent.action.CARRIER_SIGNAL_REDIRECTED. @@ -887,6 +902,7 @@ public class CarrierConfigManager { sDefaults.putStringArray(KEY_SIGNAL_REDIRECTION_RECEIVER_STRING_ARRAY, null); sDefaults.putStringArray(KEY_SIGNAL_DCFAILURE_RECEIVER_STRING_ARRAY, null); sDefaults.putStringArray(KEY_SIGNAL_PCO_RECEIVER_STRING_ARRAY, null); + sDefaults.putString(KEY_CARRIER_SETUP_APP_STRING, ""); } /**