Commit 3ef7b70c by ibaker Committed by bachinger

Remove IntRange from Player.getMediaItemAt

No other index-related methods in Player are annotated, it's considered
obvious that these should be >=0.

PiperOrigin-RevId: 405882756
parent 09c6ccfb
...@@ -2155,7 +2155,7 @@ public interface Player { ...@@ -2155,7 +2155,7 @@ public interface Player {
int getMediaItemCount(); int getMediaItemCount();
/** Returns the {@link MediaItem} at the given index. */ /** Returns the {@link MediaItem} at the given index. */
MediaItem getMediaItemAt(@IntRange(from = 0) int index); MediaItem getMediaItemAt(int index);
/** /**
* Returns the duration of the current content or ad in milliseconds, or {@link C#TIME_UNSET} if * Returns the duration of the current content or ad in milliseconds, or {@link C#TIME_UNSET} if
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment