From b5b87f8fd1b1898bb8e899a443162b73b2d892b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Muller?= Date: Tue, 26 Mar 2024 11:00:54 +0100 Subject: [PATCH] Revert change in `CurrentMediaItemTracker` --- .../srgssr/pillarbox/player/tracker/CurrentMediaItemTracker.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/tracker/CurrentMediaItemTracker.kt b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/tracker/CurrentMediaItemTracker.kt index 2e78ee48a..2e55707f2 100644 --- a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/tracker/CurrentMediaItemTracker.kt +++ b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/tracker/CurrentMediaItemTracker.kt @@ -71,6 +71,8 @@ internal class CurrentMediaItemTracker internal constructor( } if (mediaItem.canHaveTrackingSession()) { startNewSession(mediaItem) + // Update current media item with tracker data + this.currentMediaItem = mediaItem } }