mirror of
https://github.com/androidx/media.git
synced 2025-05-11 09:39:52 +08:00
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
This commit is contained in:
parent
09c6ccfb66
commit
3ef7b70c29
@ -2155,7 +2155,7 @@ public interface Player {
|
||||
int getMediaItemCount();
|
||||
|
||||
/** 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user