diff --git a/libraries/common/src/main/java/androidx/media3/common/SimpleBasePlayer.java b/libraries/common/src/main/java/androidx/media3/common/SimpleBasePlayer.java index 07f4e3e3cc..826410bef6 100644 --- a/libraries/common/src/main/java/androidx/media3/common/SimpleBasePlayer.java +++ b/libraries/common/src/main/java/androidx/media3/common/SimpleBasePlayer.java @@ -3475,9 +3475,9 @@ public abstract class SimpleBasePlayer extends BasePlayer { *
Will only be called if {@link Player#COMMAND_CHANGE_MEDIA_ITEMS} is available. * * @param fromIndex The start index of the items to replace. The index is in the range 0 <= - * {@code fromIndex} < {@link #getMediaItemCount()}. + * {@code fromIndex} <= {@link #getMediaItemCount()}. * @param toIndex The index of the first item not to be replaced (exclusive). The index is in the - * range {@code fromIndex} < {@code toIndex} <= {@link #getMediaItemCount()}. + * range {@code fromIndex} <= {@code toIndex} <= {@link #getMediaItemCount()}. * @param mediaItems The media items to replace the specified range with. * @return A {@link ListenableFuture} indicating the completion of all immediate {@link State} * changes caused by this call.