From 16d54f5e3df2a33788ca481076cc50897dfbee03 Mon Sep 17 00:00:00 2001 From: ibaker Date: Mon, 10 Aug 2020 10:50:26 +0100 Subject: [PATCH] Add a sentence to TrackSelector javadoc calling out #invalidate() PiperOrigin-RevId: 325767964 --- .../google/android/exoplayer2/trackselection/TrackSelector.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/trackselection/TrackSelector.java b/library/core/src/main/java/com/google/android/exoplayer2/trackselection/TrackSelector.java index d48c140ac8..8ee9d29d3d 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/trackselection/TrackSelector.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/trackselection/TrackSelector.java @@ -61,6 +61,8 @@ import com.google.android.exoplayer2.util.Assertions; * prefer audio tracks in a particular language. This will trigger the player to make new * track selections. Note that the player will have to re-buffer in the case that the new * track selection for the currently playing period differs from the one that was invalidated. + * Implementing subclasses can trigger invalidation by calling {@link #invalidate()}, which + * will call {@link InvalidationListener#onTrackSelectionsInvalidated()}. * * *

Renderer configuration