mirror of
https://github.com/androidx/media.git
synced 2025-05-14 19:19:58 +08:00
Extend EventMessage.toString to include durationMs
This field is used in .equals(), so it makes sense to include it in toString() too. PiperOrigin-RevId: 263768329
This commit is contained in:
parent
9ec346a2e1
commit
d3d192e36e
@ -135,7 +135,14 @@ public final class EventMessage implements Metadata.Entry {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "EMSG: scheme=" + schemeIdUri + ", id=" + id + ", value=" + value;
|
return "EMSG: scheme="
|
||||||
|
+ schemeIdUri
|
||||||
|
+ ", id="
|
||||||
|
+ id
|
||||||
|
+ ", durationMs="
|
||||||
|
+ durationMs
|
||||||
|
+ ", value="
|
||||||
|
+ value;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parcelable implementation.
|
// Parcelable implementation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user