feat(MediaSource): provide getTag default implementation

This commit is contained in:
GiuseppePiscopo 2018-12-03 18:24:38 +01:00
parent b278b02816
commit a11a8716ef

View file

@ -222,7 +222,9 @@ public interface MediaSource {
/**
* Returns the tag set on the media source, or null when none was set.
*/
@Nullable Object getTag();
@Nullable default Object getTag() {
return null;
}
/**
* Starts source preparation if not yet started, and adds a listener for timeline and/or manifest