From d8ff0210acc1dd851c02ed2ca0405e7de29364f5 Mon Sep 17 00:00:00 2001 From: ibaker Date: Mon, 26 Apr 2021 11:10:51 +0100 Subject: [PATCH] Update MediaSourceFactory javadoc Remove references to deprecated methods. I didn't replace the DRM info with references to non-deprecated methods because I'm not sure it belongs at class level. The methods themselves are already documented in detail. PiperOrigin-RevId: 370421087 --- .../exoplayer2/source/MediaSourceFactory.java | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/source/MediaSourceFactory.java b/library/core/src/main/java/com/google/android/exoplayer2/source/MediaSourceFactory.java index 7242c2a214..3a09452f24 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/source/MediaSourceFactory.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/source/MediaSourceFactory.java @@ -31,25 +31,7 @@ import com.google.android.exoplayer2.upstream.HttpDataSource; import com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy; import java.util.List; -/** - * Factory for creating {@link MediaSource}s from URIs. - * - *

DrmSessionManager creation for protected content

- * - *

In case a {@link DrmSessionManager} is passed to {@link - * #setDrmSessionManager(DrmSessionManager)}, it will be used regardless of the drm configuration of - * the media item. - * - *

For a media item with a {@link MediaItem.DrmConfiguration}, a {@link DefaultDrmSessionManager} - * is created based on that configuration. The following setter can be used to optionally configure - * the creation: - * - *

- */ +/** Factory for creating {@link MediaSource MediaSources} from {@link MediaItem MediaItems}. */ public interface MediaSourceFactory { /** @deprecated Use {@link MediaItem.PlaybackProperties#streamKeys} instead. */