Merge "Expose system API EXTRA_REBROADCAST_ON_UNLOCK"

This commit is contained in:
Treehugger Robot
2020-01-18 01:52:58 +00:00
committed by Gerrit Code Review
2 changed files with 14 additions and 0 deletions

View File

@@ -1653,6 +1653,7 @@ package android.content {
field public static final String EXTRA_PERMISSION_GROUP_NAME = "android.intent.extra.PERMISSION_GROUP_NAME";
field public static final String EXTRA_PERMISSION_NAME = "android.intent.extra.PERMISSION_NAME";
field public static final String EXTRA_REASON = "android.intent.extra.REASON";
field @Deprecated public static final String EXTRA_REBROADCAST_ON_UNLOCK = "rebroadcastOnUnlock";
field public static final String EXTRA_REMOTE_CALLBACK = "android.intent.extra.REMOTE_CALLBACK";
field public static final String EXTRA_RESULT_NEEDED = "android.intent.extra.RESULT_NEEDED";
field public static final String EXTRA_ROLE_NAME = "android.intent.extra.ROLE_NAME";

View File

@@ -4011,6 +4011,7 @@ public class Intent implements Parcelable, Cloneable {
* <p>
* @see #EXTRA_SIM_STATE
* @see #EXTRA_SIM_LOCKED_REASON
* @see #EXTRA_REBROADCAST_ON_UNLOCK
*
* @deprecated Use {@link #ACTION_SIM_CARD_STATE_CHANGED} or
* {@link #ACTION_SIM_APPLICATION_STATE_CHANGED}
@@ -4186,6 +4187,18 @@ public class Intent implements Parcelable, Cloneable {
@SystemApi
public static final String SIM_ABSENT_ON_PERM_DISABLED = "PERM_DISABLED";
/**
* The extra used with {@link #ACTION_SIM_STATE_CHANGED} for indicating whether this broadcast
* is a rebroadcast on unlock. Defaults to {@code false} if not specified.
*
* @hide
* @deprecated Use {@link #ACTION_SIM_CARD_STATE_CHANGED} or
* {@link #ACTION_SIM_APPLICATION_STATE_CHANGED}
*/
@Deprecated
@SystemApi
public static final String EXTRA_REBROADCAST_ON_UNLOCK = "rebroadcastOnUnlock";
/**
* Broadcast Action: indicate that the phone service state has changed.
* The intent will have the following extra values:</p>