Skip to content

Commit

Permalink
feat(MediaSource): provide getTag default implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
GiuseppePiscopo committed Dec 3, 2018
1 parent b278b02 commit a11a871
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ public int hashCode() {
/**
* 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
Expand Down

0 comments on commit a11a871

Please sign in to comment.