Merge "Expose REBROADCAST extra"

This commit is contained in:
Jordan Liu
2020-12-01 21:19:05 +00:00
committed by Android (Google) Code Review
2 changed files with 8 additions and 3 deletions

View File

@@ -45128,6 +45128,7 @@ package android.telephony {
field public static final int DATA_CYCLE_THRESHOLD_DISABLED = -2; // 0xfffffffe
field public static final int DATA_CYCLE_USE_PLATFORM_DEFAULT = -1; // 0xffffffff
field public static final String ENABLE_EAP_METHOD_PREFIX_BOOL = "enable_eap_method_prefix_bool";
field public static final String EXTRA_REBROADCAST_ON_UNLOCK = "android.telephony.extra.REBROADCAST_ON_UNLOCK";
field public static final String EXTRA_SLOT_INDEX = "android.telephony.extra.SLOT_INDEX";
field public static final String EXTRA_SUBSCRIPTION_INDEX = "android.telephony.extra.SUBSCRIPTION_INDEX";
field public static final String IMSI_KEY_AVAILABILITY_INT = "imsi_key_availability_int";

View File

@@ -53,9 +53,13 @@ public class CarrierConfigManager {
public static final String EXTRA_SLOT_INDEX = "android.telephony.extra.SLOT_INDEX";
/**
* Extra included in {@link #ACTION_CARRIER_CONFIG_CHANGED} to indicate whether this is a
* rebroadcast on unlock. Defaults to {@code false} if not specified.
* @hide
* {@link #ACTION_CARRIER_CONFIG_CHANGED} is broadcast once on device bootup and then again when
* the device is unlocked. Direct-Boot-aware applications may use the first broadcast as an
* early signal that the carrier config has been loaded, but other applications will only
* receive the second broadcast, when the device is unlocked.
*
* This extra is included in {@link #ACTION_CARRIER_CONFIG_CHANGED} to indicate whether this is
* a rebroadcast on unlock.
*/
public static final String EXTRA_REBROADCAST_ON_UNLOCK =
"android.telephony.extra.REBROADCAST_ON_UNLOCK";