Add HlsTrackMetadataEntry.toString

It's printed out by EventLogger, and currently looks pretty ugly

PiperOrigin-RevId: 250772010
This commit is contained in:
olly 2019-05-30 23:11:19 +01:00 committed by Oliver Woodman
parent 7e187283cd
commit b47f37fbcd

View File

@ -184,6 +184,11 @@ public final class HlsTrackMetadataEntry implements Metadata.Entry {
this.variantInfos = Collections.unmodifiableList(variantInfos);
}
@Override
public String toString() {
return "HlsTrackMetadataEntry" + (groupId != null ? (" [" + groupId + ", " + name + "]") : "");
}
@Override
public boolean equals(@Nullable Object other) {
if (this == other) {