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:
tonihei 2020-05-11 14:05:41 +01:00 committed by Oliver Woodman
parent 0dd57de1f1
commit 9fa2aaf33d

View File

@ -553,7 +553,7 @@ public class EventLogger implements AnalyticsListener {
return "eventTime="
+ getTimeString(eventTime.realtimeMs - startTimeMs)
+ ", mediaPos="
+ getTimeString(eventTime.currentPlaybackPositionMs)
+ getTimeString(eventTime.eventPlaybackPositionMs)
+ ", "
+ windowPeriodString;
}