mirror of
https://github.com/androidx/media.git
synced 2025-05-16 20:19:57 +08:00
Use event playback position in EventLogger.
We currently use the playback position in the current window, not the position in the window the event belongs to. This creates confusing outputs, e.g, window=1, mediaPos=100, even if the position refers to window 0. issue:#7332 PiperOrigin-RevId: 310896908
This commit is contained in:
parent
0dd57de1f1
commit
9fa2aaf33d
@ -553,7 +553,7 @@ public class EventLogger implements AnalyticsListener {
|
||||
return "eventTime="
|
||||
+ getTimeString(eventTime.realtimeMs - startTimeMs)
|
||||
+ ", mediaPos="
|
||||
+ getTimeString(eventTime.currentPlaybackPositionMs)
|
||||
+ getTimeString(eventTime.eventPlaybackPositionMs)
|
||||
+ ", "
|
||||
+ windowPeriodString;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user