Merge changes from topic "cherrypick-ctor-refs-03y8i58ine" into rvc-dev am: 975ca816ec
Change-Id: I40f61d6aefe3e9dd74901513c4638159d8b44ecf
This commit is contained in:
committed by
Automerger Merge Worker
commit
6fd486eeec
@@ -41,7 +41,7 @@ import java.util.List;
|
|||||||
* system will execute this job on your application's {@link android.app.job.JobService}.
|
* system will execute this job on your application's {@link android.app.job.JobService}.
|
||||||
* You identify the service component that implements the logic for your job when you
|
* You identify the service component that implements the logic for your job when you
|
||||||
* construct the JobInfo using
|
* construct the JobInfo using
|
||||||
* {@link android.app.job.JobInfo.Builder#JobInfo.Builder(int,android.content.ComponentName)}.
|
* {@link android.app.job.JobInfo.Builder#Builder(int,android.content.ComponentName)}.
|
||||||
* </p>
|
* </p>
|
||||||
* <p>
|
* <p>
|
||||||
* The framework will be intelligent about when it executes jobs, and attempt to batch
|
* The framework will be intelligent about when it executes jobs, and attempt to batch
|
||||||
@@ -153,7 +153,7 @@ public abstract class JobScheduler {
|
|||||||
* method is ignored.
|
* method is ignored.
|
||||||
*
|
*
|
||||||
* @param jobId unique identifier for the job to be canceled, as supplied to
|
* @param jobId unique identifier for the job to be canceled, as supplied to
|
||||||
* {@link JobInfo.Builder#JobInfo.Builder(int, android.content.ComponentName)
|
* {@link JobInfo.Builder#Builder(int, android.content.ComponentName)
|
||||||
* JobInfo.Builder(int, android.content.ComponentName)}.
|
* JobInfo.Builder(int, android.content.ComponentName)}.
|
||||||
*/
|
*/
|
||||||
public abstract void cancel(int jobId);
|
public abstract void cancel(int jobId);
|
||||||
|
|||||||
@@ -732,7 +732,7 @@ public class Instrumentation {
|
|||||||
* a non-null value if the intent needs to be intercepted.
|
* a non-null value if the intent needs to be intercepted.
|
||||||
*
|
*
|
||||||
* <p> Whenever a new activity is started, this method will be called on instances created
|
* <p> Whenever a new activity is started, this method will be called on instances created
|
||||||
* using {@link #Instrumentation.ActivityMonitor()} to check if there is a match. In case
|
* using {@link #ActivityMonitor()} to check if there is a match. In case
|
||||||
* of a match, the activity start will be blocked and the returned result will be used.
|
* of a match, the activity start will be blocked and the returned result will be used.
|
||||||
*
|
*
|
||||||
* @param intent The intent used for starting the activity.
|
* @param intent The intent used for starting the activity.
|
||||||
|
|||||||
@@ -3513,7 +3513,7 @@ public class Notification implements Parcelable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated use {@link Notification.Builder#Notification.Builder(Context, String)}
|
* @deprecated use {@link #Builder(Context, String)}
|
||||||
* instead. All posted Notifications must specify a NotificationChannel Id.
|
* instead. All posted Notifications must specify a NotificationChannel Id.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@@ -3631,7 +3631,7 @@ public class Notification implements Parcelable
|
|||||||
* @param shortcutId the {@link ShortcutInfo#getId() id} of the shortcut this notification
|
* @param shortcutId the {@link ShortcutInfo#getId() id} of the shortcut this notification
|
||||||
* is linked to
|
* is linked to
|
||||||
*
|
*
|
||||||
* @see Notification.BubbleMetadata.Builder#Notification.BubbleMetadata.Builder(String)
|
* @see BubbleMetadata.Builder#Builder(String)
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public Builder setShortcutId(String shortcutId) {
|
public Builder setShortcutId(String shortcutId) {
|
||||||
@@ -5993,7 +5993,7 @@ public class Notification implements Parcelable
|
|||||||
* metadata matches the shortcutId set on the notification builder, if one was set.
|
* metadata matches the shortcutId set on the notification builder, if one was set.
|
||||||
* If the shortcutId's were specified but do not match, an exception is thrown here.
|
* If the shortcutId's were specified but do not match, an exception is thrown here.
|
||||||
*
|
*
|
||||||
* @see Notification.BubbleMetadata.Builder#Notification.BubbleMetadata.Builder(String)
|
* @see BubbleMetadata.Builder#Builder(String)
|
||||||
* @see #setShortcutId(String)
|
* @see #setShortcutId(String)
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
@@ -7297,7 +7297,7 @@ public class Notification implements Parcelable
|
|||||||
* Should be unique amongst all individuals in the conversation, and should be
|
* Should be unique amongst all individuals in the conversation, and should be
|
||||||
* consistent during re-posts of the notification.
|
* consistent during re-posts of the notification.
|
||||||
*
|
*
|
||||||
* @see Message#Notification.MessagingStyle.Message(CharSequence, long, CharSequence)
|
* @see Message#Message(CharSequence, long, CharSequence)
|
||||||
*
|
*
|
||||||
* @return this object for method chaining
|
* @return this object for method chaining
|
||||||
*
|
*
|
||||||
@@ -7317,7 +7317,7 @@ public class Notification implements Parcelable
|
|||||||
* Should be <code>null</code> for messages by the current user, in which case
|
* Should be <code>null</code> for messages by the current user, in which case
|
||||||
* the platform will insert the user set in {@code MessagingStyle(Person)}.
|
* the platform will insert the user set in {@code MessagingStyle(Person)}.
|
||||||
*
|
*
|
||||||
* @see Message#Notification.MessagingStyle.Message(CharSequence, long, CharSequence)
|
* @see Message#Message(CharSequence, long, CharSequence)
|
||||||
*
|
*
|
||||||
* @return this object for method chaining
|
* @return this object for method chaining
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ public final class CustomDescription implements Parcelable {
|
|||||||
*
|
*
|
||||||
* @param condition condition used to trigger the updates.
|
* @param condition condition used to trigger the updates.
|
||||||
* @param updates actions to be applied to the
|
* @param updates actions to be applied to the
|
||||||
* {@link #CustomDescription.Builder(RemoteViews) template presentation} when the condition
|
* {@link #Builder(RemoteViews) template presentation} when the condition
|
||||||
* is satisfied.
|
* is satisfied.
|
||||||
*
|
*
|
||||||
* @return this builder
|
* @return this builder
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ public final class ImageTransformation extends InternalTransformation implements
|
|||||||
* {@link RemoteViews presentation} must contain a {@link ImageView} child with that id.
|
* {@link RemoteViews presentation} must contain a {@link ImageView} child with that id.
|
||||||
*
|
*
|
||||||
* @deprecated use
|
* @deprecated use
|
||||||
* {@link #ImageTransformation.Builder(AutofillId, Pattern, int, CharSequence)} instead.
|
* {@link #Builder(AutofillId, Pattern, int, CharSequence)} instead.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId) {
|
public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId) {
|
||||||
|
|||||||
@@ -719,7 +719,7 @@ public final class SaveInfo implements Parcelable {
|
|||||||
*
|
*
|
||||||
* <p>The sanitizer can also be used as an alternative for a
|
* <p>The sanitizer can also be used as an alternative for a
|
||||||
* {@link #setValidator(Validator) validator}. If any of the {@code ids} is a
|
* {@link #setValidator(Validator) validator}. If any of the {@code ids} is a
|
||||||
* {@link #SaveInfo.Builder(int, AutofillId[]) required id} and the {@code sanitizer} fails
|
* {@link #Builder(int, AutofillId[]) required id} and the {@code sanitizer} fails
|
||||||
* because of it, then the save UI is not shown.
|
* because of it, then the save UI is not shown.
|
||||||
*
|
*
|
||||||
* @param sanitizer an implementation provided by the Android System.
|
* @param sanitizer an implementation provided by the Android System.
|
||||||
@@ -777,7 +777,7 @@ public final class SaveInfo implements Parcelable {
|
|||||||
* Builds a new {@link SaveInfo} instance.
|
* Builds a new {@link SaveInfo} instance.
|
||||||
*
|
*
|
||||||
* @throws IllegalStateException if no
|
* @throws IllegalStateException if no
|
||||||
* {@link #SaveInfo.Builder(int, AutofillId[]) required ids},
|
* {@link #Builder(int, AutofillId[]) required ids},
|
||||||
* or {@link #setOptionalIds(AutofillId[]) optional ids}, or {@link #FLAG_DELAY_SAVE}
|
* or {@link #setOptionalIds(AutofillId[]) optional ids}, or {@link #FLAG_DELAY_SAVE}
|
||||||
* were set
|
* were set
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ public interface LineBackgroundSpan extends ParagraphStyle
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the color of this span.
|
* @return the color of this span.
|
||||||
* @see Standard#LineBackgroundSpan.Standard(int)
|
* @see Standard#Standard(int)
|
||||||
*/
|
*/
|
||||||
@ColorInt
|
@ColorInt
|
||||||
public final int getColor() {
|
public final int getColor() {
|
||||||
|
|||||||
@@ -26185,9 +26185,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the View object that had been passed to the
|
* Returns the View object that had been passed to the
|
||||||
* {@link #View.DragShadowBuilder(View)}
|
* {@link #DragShadowBuilder(View)}
|
||||||
* constructor. If that View parameter was {@code null} or if the
|
* constructor. If that View parameter was {@code null} or if the
|
||||||
* {@link #View.DragShadowBuilder()}
|
* {@link #DragShadowBuilder()}
|
||||||
* constructor was used to instantiate the builder object, this method will return
|
* constructor was used to instantiate the builder object, this method will return
|
||||||
* null.
|
* null.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -5120,7 +5120,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
* Obtains a pooled instance that is a clone of another one.
|
* Obtains a pooled instance that is a clone of another one.
|
||||||
*
|
*
|
||||||
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
||||||
* constructor {@link AccessibilityNodeInfo.RangeInfo#AccessibilityNodeInfo.RangeInfo(int,
|
* constructor {@link AccessibilityNodeInfo.RangeInfo#RangeInfo(int,
|
||||||
* float, float, float)} instead.
|
* float, float, float)} instead.
|
||||||
*
|
*
|
||||||
* @param other The instance to clone.
|
* @param other The instance to clone.
|
||||||
@@ -5135,7 +5135,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
* Obtains a pooled instance.
|
* Obtains a pooled instance.
|
||||||
*
|
*
|
||||||
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
||||||
* constructor {@link AccessibilityNodeInfo.RangeInfo#AccessibilityNodeInfo.RangeInfo(int,
|
* constructor {@link AccessibilityNodeInfo.RangeInfo#RangeInfo(int,
|
||||||
* float, float, float)} instead.
|
* float, float, float)} instead.
|
||||||
*
|
*
|
||||||
* @param type The type of the range.
|
* @param type The type of the range.
|
||||||
@@ -5271,7 +5271,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
*
|
*
|
||||||
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
||||||
* constructor {@link
|
* constructor {@link
|
||||||
* AccessibilityNodeInfo.CollectionInfo#AccessibilityNodeInfo.CollectionInfo} instead.
|
* AccessibilityNodeInfo.CollectionInfo#CollectionInfo} instead.
|
||||||
*
|
*
|
||||||
* @param other The instance to clone.
|
* @param other The instance to clone.
|
||||||
* @hide
|
* @hide
|
||||||
@@ -5286,7 +5286,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
*
|
*
|
||||||
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
||||||
* constructor {@link
|
* constructor {@link
|
||||||
* AccessibilityNodeInfo.CollectionInfo#AccessibilityNodeInfo.CollectionInfo(int, int,
|
* AccessibilityNodeInfo.CollectionInfo#CollectionInfo(int, int,
|
||||||
* boolean)} instead.
|
* boolean)} instead.
|
||||||
*
|
*
|
||||||
* @param rowCount The number of rows, or -1 if count is unknown.
|
* @param rowCount The number of rows, or -1 if count is unknown.
|
||||||
@@ -5303,7 +5303,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
*
|
*
|
||||||
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
||||||
* constructor {@link
|
* constructor {@link
|
||||||
* AccessibilityNodeInfo.CollectionInfo#AccessibilityNodeInfo.CollectionInfo(int, int,
|
* AccessibilityNodeInfo.CollectionInfo#CollectionInfo(int, int,
|
||||||
* boolean, int)} instead.
|
* boolean, int)} instead.
|
||||||
*
|
*
|
||||||
* @param rowCount The number of rows.
|
* @param rowCount The number of rows.
|
||||||
@@ -5440,7 +5440,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
*
|
*
|
||||||
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
||||||
* constructor {@link
|
* constructor {@link
|
||||||
* AccessibilityNodeInfo.CollectionItemInfo#AccessibilityNodeInfo.CollectionItemInfo}
|
* AccessibilityNodeInfo.CollectionItemInfo#CollectionItemInfo}
|
||||||
* instead.
|
* instead.
|
||||||
*
|
*
|
||||||
* @param other The instance to clone.
|
* @param other The instance to clone.
|
||||||
@@ -5456,7 +5456,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
*
|
*
|
||||||
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
* <p>In most situations object pooling is not beneficial. Create a new instance using the
|
||||||
* constructor {@link
|
* constructor {@link
|
||||||
* AccessibilityNodeInfo.CollectionItemInfo#AccessibilityNodeInfo.CollectionItemInfo(int,
|
* AccessibilityNodeInfo.CollectionItemInfo#CollectionItemInfo(int,
|
||||||
* int, int, int, boolean)} instead.
|
* int, int, int, boolean)} instead.
|
||||||
*
|
*
|
||||||
* @param rowIndex The row index at which the item is located.
|
* @param rowIndex The row index at which the item is located.
|
||||||
@@ -5476,7 +5476,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
*
|
*
|
||||||
* <p>In most situations object pooling is not beneficial. Creates a new instance using the
|
* <p>In most situations object pooling is not beneficial. Creates a new instance using the
|
||||||
* constructor {@link
|
* constructor {@link
|
||||||
* AccessibilityNodeInfo.CollectionItemInfo#AccessibilityNodeInfo.CollectionItemInfo(int,
|
* AccessibilityNodeInfo.CollectionItemInfo#CollectionItemInfo(int,
|
||||||
* int, int, int, boolean, boolean)} instead.
|
* int, int, int, boolean, boolean)} instead.
|
||||||
*
|
*
|
||||||
* @param rowIndex The row index at which the item is located.
|
* @param rowIndex The row index at which the item is located.
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ public final class ConversationActions implements Parcelable {
|
|||||||
/**
|
/**
|
||||||
* Represents the local user.
|
* Represents the local user.
|
||||||
*
|
*
|
||||||
* @see Builder#ConversationActions.Message.Builder(Person)
|
* @see Builder#Builder(Person)
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public static final Person PERSON_USER_SELF =
|
public static final Person PERSON_USER_SELF =
|
||||||
@@ -120,7 +120,7 @@ public final class ConversationActions implements Parcelable {
|
|||||||
* the remote user better, so that the underlying model could differentiate between
|
* the remote user better, so that the underlying model could differentiate between
|
||||||
* different remote users.
|
* different remote users.
|
||||||
*
|
*
|
||||||
* @see Builder#ConversationActions.Message.Builder(Person)
|
* @see Builder#Builder(Person)
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public static final Person PERSON_USER_OTHERS =
|
public static final Person PERSON_USER_OTHERS =
|
||||||
|
|||||||
@@ -80,9 +80,9 @@ import android.os.Looper;
|
|||||||
* <p>An {@code AudioFocusRequest} instance always contains one of the four types of requests
|
* <p>An {@code AudioFocusRequest} instance always contains one of the four types of requests
|
||||||
* explained above. It is passed when building an {@code AudioFocusRequest} instance with its
|
* explained above. It is passed when building an {@code AudioFocusRequest} instance with its
|
||||||
* builder in the {@link Builder} constructor
|
* builder in the {@link Builder} constructor
|
||||||
* {@link AudioFocusRequest.Builder#AudioFocusRequest.Builder(int)}, or
|
* {@link AudioFocusRequest.Builder#Builder(int)}, or
|
||||||
* with {@link AudioFocusRequest.Builder#setFocusGain(int)} after copying an existing instance with
|
* with {@link AudioFocusRequest.Builder#setFocusGain(int)} after copying an existing instance with
|
||||||
* {@link AudioFocusRequest.Builder#AudioFocusRequest.Builder(AudioFocusRequest)}.
|
* {@link AudioFocusRequest.Builder#Builder(AudioFocusRequest)}.
|
||||||
*
|
*
|
||||||
* <h3>Qualifying your focus request</h3>
|
* <h3>Qualifying your focus request</h3>
|
||||||
* <h4>Use case requiring a focus request</h4>
|
* <h4>Use case requiring a focus request</h4>
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ public final class AudioPlaybackCaptureConfiguration {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the {@code MediaProjection} used to build this object.
|
* @return the {@code MediaProjection} used to build this object.
|
||||||
* @see Builder#AudioPlaybackCaptureConfiguration.Builder(MediaProjection)
|
* @see Builder#Builder(MediaProjection)
|
||||||
*/
|
*/
|
||||||
public @NonNull MediaProjection getMediaProjection() {
|
public @NonNull MediaProjection getMediaProjection() {
|
||||||
return mProjection;
|
return mProjection;
|
||||||
|
|||||||
@@ -364,7 +364,7 @@ public final class MediaRoute2Info implements Parcelable {
|
|||||||
* In order to ensure uniqueness in {@link MediaRouter2} side, the value of this method
|
* In order to ensure uniqueness in {@link MediaRouter2} side, the value of this method
|
||||||
* can be different from what was set in {@link MediaRoute2ProviderService}.
|
* can be different from what was set in {@link MediaRoute2ProviderService}.
|
||||||
*
|
*
|
||||||
* @see Builder#MediaRoute2Info.Builder(String, CharSequence)
|
* @see Builder#Builder(String, CharSequence)
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public String getId() {
|
public String getId() {
|
||||||
|
|||||||
@@ -356,7 +356,7 @@ public abstract class MediaRoute2ProviderService extends Service {
|
|||||||
* {@link MediaRouter2}, or null if none. The contents of this bundle
|
* {@link MediaRouter2}, or null if none. The contents of this bundle
|
||||||
* may affect the result of session creation.
|
* may affect the result of session creation.
|
||||||
*
|
*
|
||||||
* @see RoutingSessionInfo.Builder#RoutingSessionInfo.Builder(String, String)
|
* @see RoutingSessionInfo.Builder#Builder(String, String)
|
||||||
* @see RoutingSessionInfo.Builder#addSelectedRoute(String)
|
* @see RoutingSessionInfo.Builder#addSelectedRoute(String)
|
||||||
* @see RoutingSessionInfo.Builder#setControlHints(Bundle)
|
* @see RoutingSessionInfo.Builder#setControlHints(Bundle)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ public final class RoutingSessionInfo implements Parcelable {
|
|||||||
* In order to ensure uniqueness in {@link MediaRouter2} side, the value of this method
|
* In order to ensure uniqueness in {@link MediaRouter2} side, the value of this method
|
||||||
* can be different from what was set in {@link MediaRoute2ProviderService}.
|
* can be different from what was set in {@link MediaRoute2ProviderService}.
|
||||||
*
|
*
|
||||||
* @see Builder#RoutingSessionInfo.Builder(String, String)
|
* @see Builder#Builder(String, String)
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public String getId() {
|
public String getId() {
|
||||||
|
|||||||
Reference in New Issue
Block a user