Fix permitted parameter range for handleMoveMediaItems in javadoc

This commit is contained in:
Uli Bubenheimer 2025-02-12 11:04:14 -05:00 committed by tonihei
parent 72c85aa483
commit ea1562b7cc

View File

@ -3460,7 +3460,7 @@ public abstract class SimpleBasePlayer extends BasePlayer {
* index is in the range {@code fromIndex} < {@code toIndex} <= {@link * index is in the range {@code fromIndex} < {@code toIndex} <= {@link
* #getMediaItemCount()}. * #getMediaItemCount()}.
* @param newIndex The new index of the first moved item. The index is in the range {@code 0} * @param newIndex The new index of the first moved item. The index is in the range {@code 0}
* <= {@code newIndex} < {@link #getMediaItemCount() - (toIndex - fromIndex)}. * <= {@code newIndex} <= {@link #getMediaItemCount() - (toIndex - fromIndex)}.
* @return A {@link ListenableFuture} indicating the completion of all immediate {@link State} * @return A {@link ListenableFuture} indicating the completion of all immediate {@link State}
* changes caused by this call. * changes caused by this call.
*/ */